diff --git a/public/index.html b/public/index.html index c94bcdbc9..fb5754c9e 100644 --- a/public/index.html +++ b/public/index.html @@ -2773,7 +2773,7 @@
-

Creators's Tags

+

Creator's Tags

@@ -3455,4 +3455,4 @@ - + \ No newline at end of file diff --git a/public/script.js b/public/script.js index 0b8d68fe5..71bf545ae 100644 --- a/public/script.js +++ b/public/script.js @@ -7697,7 +7697,7 @@ $(document).ready(function () { eventSource.emit(event_types.GENERATION_STOPPED); }); - $('.drawer-toggle').click(function () { + $('.drawer-toggle').on('click', function () { var icon = $(this).find('.drawer-icon'); var drawer = $(this).parent().find('.drawer-content'); if (drawer.hasClass('resizing')) { return } @@ -7734,7 +7734,7 @@ $(document).ready(function () { } - } else if (drawerWasOpenAlready) { //to close + } else if (drawerWasOpenAlready) { //to close manually icon.toggleClass('closedIcon openIcon'); if (pinnedDrawerClicked) { @@ -7780,7 +7780,9 @@ $(document).ready(function () { if (jQuery.find('.openDrawer').length !== 0) { if (targetParentHasOpenDrawer === 0) { //console.log($('.openDrawer').not('.pinnedOpen').length); - $('.openDrawer').not('.pinnedOpen').slideToggle(200, "swing"); + $('.openDrawer').not('.pinnedOpen').addClass('resizing').slideToggle(200, "swing", function () { + $(this).closest('.drawer-content').removeClass('resizing') + }); $('.openIcon').toggleClass('closedIcon openIcon'); $('.openDrawer').not('.pinnedOpen').toggleClass('closedDrawer openDrawer'); @@ -7974,8 +7976,8 @@ $(document).ready(function () { const html = `

Enter the URL of the content to import

Supported sources: