Plugin Directory

Changeset 3104623

Timestamp:
06/19/2024 02:01:51 PM (7 weeks ago)
Author:
whiteshadow
Message:

Fix columns created after loading the editor always having a bottom shadow.

This was caused by incorrectly including the template column's toolbar in the list of observed sticky toolbars.

Note that there is still another bug: if a new column does get created, it's not automatically observed. The new toolbar won't get its scroll-dependent shadow until the page reloads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-menu-editor/trunk/js/menu-editor.js

    r3083847 r3104623  
    57455745        const editorToolbars = document.querySelectorAll('.ws_main_container .ws_toolbar');
    57465746        for (const toolbar of editorToolbars) {
     5747
     5748
     5749
     5750
    57475751            observer.observe(toolbar);
    57485752        }
Note: See TracChangeset for help on using the changeset viewer.