]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/editor-toolbox.js
Updated attachments to work with new dropzone
[bookstack] / resources / js / components / editor-toolbox.js
index 4d3c0ae75d22177e0362c21b2b2b7f971e1af2ac..1f1fce9dcacb6978ecd68fe350d7368baabf5faa 100644 (file)
@@ -13,6 +13,10 @@ export class EditorToolbox extends Component {
 
         // Set the first tab as active on load
         this.setActiveTab(this.contentElements[0].dataset.tabContent);
+
+        setTimeout(() => {
+            this.setActiveTab('files', true);
+        }, 500);
     }
 
     setupListeners() {