Browse Source

Revert "update"

This reverts commit 90d9f3d32c.
es6
fay 7 years ago
parent
commit
0484fd52d4
  1. 8
      src/core/func/dom.js

8
src/core/func/dom.js

@ -119,11 +119,9 @@ BI.extend(jQuery.fn, {
},
__isMouseInBounds__: function (e) {
var offset2Body = this.get(0).getBoundingClientRect ? this.get(0).getBoundingClientRect() : this.offset();
var width = offset2Body.width || this.outerWidth();
var height = offset2Body.height || this.outerHeight();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + width
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + height);
var offset2Body = this.offset();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + this.outerWidth()
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + this.outerHeight());
},
__hasZIndexMask__: function (zindex) {

Loading…
Cancel
Save