aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.droppable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js
index 5f208afa3..6d3e159fa 100644
--- a/ui/ui.droppable.js
+++ b/ui/ui.droppable.js
@@ -179,7 +179,7 @@ $.ui.ddmanager = {
for (var i = 0; i < m.length; i++) {
if(m[i].options.disabled || (t && !m[i].options.accept.call(m[i].element,(t.currentItem || t.element)))) continue;
- m[i].visible = m[i].element.css("display") == "none"; if(!m[i].visible) continue; //If the element is not visible, continue
+ m[i].visible = m[i].element.css("display") != "none"; if(!m[i].visible) continue; //If the element is not visible, continue
m[i].offset = m[i].element.offset();
m[i].proportions = { width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight };