From 7a2ccf603164f7f090de95dd2b502d8c90a54a7e Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 3 Oct 2014 18:26:13 -0400 Subject: [PATCH] hardcoded parentElement by accident so that's why it doesn't work on other pages. derp --- public/src/modules/admin/selectable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/modules/admin/selectable.js b/public/src/modules/admin/selectable.js index cf0b85e3fa..b3d3e69bbd 100644 --- a/public/src/modules/admin/selectable.js +++ b/public/src/modules/admin/selectable.js @@ -42,7 +42,7 @@ define('admin/selectable', function() { return $('
') .css('opacity', 0.65 ) - .appendTo('.tag-list'); + .appendTo(parentElement); }) .drag(function(ev, dd){ $(dd.proxy).css({ @@ -54,7 +54,7 @@ define('admin/selectable', function() { }) .drag('end',function(ev, dd){ $(dd.proxy).remove(); - }) + }); elementsToSelect .addClass('selection')