We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2e67c commit cbda2f3Copy full SHA for cbda2f3
ui/ui.droppable.js
@@ -179,7 +179,7 @@ $.ui.ddmanager = {
179
180
for (var i = 0; i < m.length; i++) {
181
if(m[i].options.disabled || (t && !m[i].options.accept.call(m[i].element,(t.currentItem || t.element)))) continue;
182
- 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
183
m[i].offset = m[i].element.offset();
184
m[i].proportions = { width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight };
185
0 commit comments