]> BookStack Code Mirror - bookstack/blobdiff - resources/js/markdown/settings.js
Exports: Added rate limits for UI exports
[bookstack] / resources / js / markdown / settings.js
index 62aab82e9d5dda088bbcfe53dd26cba8227b1c49..b843aaa8a2b2bed55133a17c075473285db5c595 100644 (file)
@@ -21,7 +21,7 @@ export class Settings {
 
     listenToInputChanges(inputs) {
         for (const input of inputs) {
-            input.addEventListener('change', event => {
+            input.addEventListener('change', () => {
                 const name = input.getAttribute('name').replace('md-', '');
                 this.set(name, input.checked);
             });
@@ -59,4 +59,5 @@ export class Settings {
         listeners.push(callback);
         this.changeListeners[key] = listeners;
     }
-}
\ No newline at end of file
+
+}