Skip to content

Commit 2484895

Browse files
Remove unused variable declaration. [#1317 state:resolved] (Victor)
1 parent ce46021 commit 2484895

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/prototype/dom/layout.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@
111111
// 50% of its offset parent. If it's `position: fixed` instead, we know
112112
// it's 50% of the viewport. And so on.
113113
context = context || element.parentNode;
114-
var decimal = toDecimal(value);
115-
var whole = null;
116-
var position = element.getStyle('position');
114+
var decimal = toDecimal(value), whole = null;
117115

118116
var isHorizontal = property.include('left') || property.include('right') ||
119117
property.include('width');

0 commit comments

Comments
 (0)