File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ onLoad(() => {
55 $ ( '.domain-links-list' ) . append ( data ) ;
66 $ ( ev . target ) . parents ( '.modal' ) . modal ( 'close' ) ;
77 } ) ;
8- } ) ;
8+ } ) ;
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ import Turbolinks from 'turbolinks';
1616import '../turbolinks_prefetch.coffee' ; // The original is in coffee.
1717Turbolinks . start ( ) ;
1818
19- import createDebug from 'debug' ;
20- const debug = createDebug ( 'ms:app' ) ;
21-
2219import '../cable' ;
2320
2421import '../admin' ;
@@ -83,11 +80,11 @@ onLoad(() => {
8380
8481 const formParameterCleanups = [ ] ;
8582
86- $ ( document ) . on ( 'submit' , 'form' , ( ev ) => {
83+ $ ( document ) . on ( 'submit' , 'form' , ev => {
8784 const tgt = $ ( ev . target ) ;
8885 if ( formParameterCleanups . indexOf ( tgt [ 0 ] ) === - 1 ) {
8986 ev . preventDefault ( ) ;
90- $ ( tgt . find ( ':input' ) . toArray ( ) . filter ( e => $ ( e ) . val ( ) === "" ) ) . attr ( 'disabled' , true ) ;
87+ $ ( tgt . find ( ':input' ) . toArray ( ) . filter ( e => $ ( e ) . val ( ) === '' ) ) . attr ( 'disabled' , true ) ;
9188 formParameterCleanups . push ( tgt [ 0 ] ) ;
9289 tgt . submit ( ) ;
9390 }
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ import 'bootstrap-select';
66import 'jquery-tablesort' ;
77import 'jquery-ujs' ;
88import 'livestamp' ;
9- import 'tagging' ;
9+ import 'tagging' ;
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export function installSelectpickers() {
111111 clearTimeout ( timeout ) ;
112112 }
113113
114- timeout = setTimeout ( function ( ) {
114+ timeout = setTimeout ( ( ) => {
115115 sendSearchRequest ( source , ev . target ) ;
116116 } , 200 ) ;
117117 } ) ;
You can’t perform that action at this time.
0 commit comments