@@ -25,7 +25,7 @@ function refreshHistory() {
25
25
const formTarget = djDebug . querySelector ( ".refreshHistory" ) ;
26
26
const container = document . getElementById ( "djdtHistoryRequests" ) ;
27
27
const oldIds = new Set (
28
- pluckData ( container . querySelectorAll ( "tr[data-store-id]" ) , "storeId" ) ,
28
+ pluckData ( container . querySelectorAll ( "tr[data-store-id]" ) , "storeId" )
29
29
) ;
30
30
31
31
ajaxForm ( formTarget )
@@ -44,8 +44,8 @@ function refreshHistory() {
44
44
const allIds = new Set (
45
45
pluckData (
46
46
container . querySelectorAll ( "tr[data-store-id]" ) ,
47
- "storeId" ,
48
- ) ,
47
+ "storeId"
48
+ )
49
49
) ;
50
50
const newIds = difference ( allIds , oldIds ) ;
51
51
const lastRequestId = newIds . values ( ) . next ( ) . value ;
@@ -58,7 +58,7 @@ function refreshHistory() {
58
58
. then ( function ( refreshInfo ) {
59
59
refreshInfo . newIds . forEach ( function ( newId ) {
60
60
const row = container . querySelector (
61
- `tr[data-store-id="${ newId } "]` ,
61
+ `tr[data-store-id="${ newId } "]`
62
62
) ;
63
63
row . classList . add ( "flash-new" ) ;
64
64
} ) ;
@@ -74,7 +74,7 @@ function refreshHistory() {
74
74
75
75
function switchHistory ( newStoreId ) {
76
76
const formTarget = djDebug . querySelector (
77
- ".switchHistory[data-store-id='" + newStoreId + "']" ,
77
+ ".switchHistory[data-store-id='" + newStoreId + "']"
78
78
) ;
79
79
const tbody = formTarget . closest ( "tbody" ) ;
80
80
@@ -88,7 +88,7 @@ function switchHistory(newStoreId) {
88
88
if ( Object . keys ( data ) . length === 0 ) {
89
89
const container = document . getElementById ( "djdtHistoryRequests" ) ;
90
90
container . querySelector (
91
- 'button[data-store-id="' + newStoreId + '"]' ,
91
+ 'button[data-store-id="' + newStoreId + '"]'
92
92
) . innerHTML = "Switch [EXPIRED]" ;
93
93
}
94
94
replaceToolbarState ( newStoreId , data ) ;
0 commit comments