Browse Source

#2518 better check for hidden

pull/2536/head
Jack Lukic 9 years ago
parent
commit
ee69a51921
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/popup.js

2
src/definitions/modules/popup.js

@ -687,7 +687,7 @@ $.fn.popup = function(parameters) {
popup = calculations.popup;
parent = calculations.parent;
if(target.top === 0 && target.left === 0) {
if(target.width === 0 && target.height === 0) {
module.debug('Popup target is hidden, no action taken');
return false;
}

Loading…
Cancel
Save