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 ce46021 commit 2484895Copy full SHA for 2484895
src/prototype/dom/layout.js
@@ -111,9 +111,7 @@
111
// 50% of its offset parent. If it's `position: fixed` instead, we know
112
// it's 50% of the viewport. And so on.
113
context = context || element.parentNode;
114
- var decimal = toDecimal(value);
115
- var whole = null;
116
- var position = element.getStyle('position');
+ var decimal = toDecimal(value), whole = null;
117
118
var isHorizontal = property.include('left') || property.include('right') ||
119
property.include('width');
0 commit comments