diff --git a/editor/src/index.js b/editor/src/index.js index 9ddd855..c9624b3 100644 --- a/editor/src/index.js +++ b/editor/src/index.js @@ -111,4 +111,10 @@ $(document).on('click', '.tab', function () { $(function () { activateTab($('.tab-bar .tab-active')[0]); + + $('.navbar-burger').on('click', function () { + let open = $(this).hasClass('is-active') + $('#' + $(this).data('target')).toggleClass('is-active', !open) + $(this).toggleClass('is-active', !open) + }); });