diff --git a/public/scripts/extensions/gallery/index.js b/public/scripts/extensions/gallery/index.js index 94b8c30c7..c34ea56e3 100644 --- a/public/scripts/extensions/gallery/index.js +++ b/public/scripts/extensions/gallery/index.js @@ -277,7 +277,7 @@ function makeMovable(id = 'gallery') { const newElement = $(template); newElement.css('background-color', 'var(--SmartThemeBlurTintColor)'); newElement.attr('forChar', id); - newElement.attr('id', `draggable_${id}`); + newElement.attr('id', id); newElement.find('.drag-grabber').attr('id', `${id}header`); newElement.find('.dragTitle').text('Image Gallery'); //add a div for the gallery diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index c25f275c7..b3b7f41d5 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -3970,7 +3970,7 @@ $(document).ready(() => { const targetSelector = { chat: '#chat', background: '#bg1', - gallery: '#draggable_gallery', + gallery: '#gallery', zoomedAvatar: 'div.zoomed_avatar', }[args.to || 'chat'];