]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/editor-toolbox.js
Fix timestamp in API docs example response
[bookstack] / resources / js / components / editor-toolbox.js
index a581ae7b4609727200ad3251b6f0e5e59dd1213e..4d3c0ae75d22177e0362c21b2b2b7f971e1af2ac 100644 (file)
@@ -1,4 +1,4 @@
-import {Component} from "./component";
+import {Component} from './component';
 
 export class EditorToolbox extends Component {
 
@@ -35,11 +35,10 @@ export class EditorToolbox extends Component {
     }
 
     setActiveTab(tabName, openToolbox = false) {
-
         // Set button visibility
         for (const button of this.buttons) {
             button.classList.remove('active');
-            const bName =  button.dataset.tab;
+            const bName = button.dataset.tab;
             if (bName === tabName) button.classList.add('active');
         }
 
@@ -55,4 +54,4 @@ export class EditorToolbox extends Component {
         }
     }
 
-}
\ No newline at end of file
+}