]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/components/editor-toolbox.js
Fixed issue causing text overlap in sort select box
[bookstack] / resources / assets / js / components / editor-toolbox.js
index 10678edfaa4e880c5d3f076b061fd968abdb54a0..354bf0a86b3262f4a5e14a9e446ea87ee9405c65 100644 (file)
@@ -23,6 +23,8 @@ class EditorToolbox {
 
     toggle() {
         this.elem.classList.toggle('open');
+        const expanded = this.elem.classList.contains('open') ? 'true' : 'false';
+        this.toggleButton.setAttribute('aria-expanded', expanded);
     }
 
     setActiveTab(tabName, openToolbox = false) {