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 54425d2 commit 1d8b40bCopy full SHA for 1d8b40b
Source/Element/Element.Position.js
@@ -65,11 +65,11 @@ var local = Element.Position = {
65
},
66
67
setOffsetOption: function(element, options){
68
- var parentOffset = {x: 0, y: 0},
69
- parentScroll = {x: 0, y: 0},
70
- offsetParent = element.measure(function(){
71
- return document.id(this.getOffsetParent());
72
- });
+ var parentOffset = {x: 0, y: 0};
+ var parentScroll = {x: 0, y: 0};
+ var offsetParent = element.measure(function(){
+ return document.id(this.getOffsetParent());
+ });
73
74
if (!offsetParent || offsetParent == element.getDocument().body) return;
75
0 commit comments