]> BookStack Code Mirror - bookstack/blobdiff - resources/js/markdown/settings.js
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / resources / js / markdown / settings.js
index 3cdceca1a1e20409f0f88eb70c142d20f2e62285..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);
             });