Permalink
Browse files

Fix typo in layout.js.

  • Loading branch information...
1 parent 949dc83 commit 08a6188e0ebf55681feaacc094c57c2992662840 @savetheclocktower savetheclocktower committed Apr 23, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/dom/layout.js
View
8 src/dom/layout.js
@@ -885,11 +885,11 @@
}
var offsetParent = getOffsetParent(element);
- var eOffset = element.viewportOffset(), pOffset =
- offsetParent.viewportOffset();
+ var eOffset = element.viewportOffset(),
+ pOffset = offsetParent.viewportOffset();
- var offset = eOffset.relativeTo(pOffset);
- var layout = element.get('layout');
+ var offset = eOffset.relativeTo(pOffset);
+ var layout = element.getLayout();
element.store('prototype_absolutize_original_styles', {
left: element.getStyle('left'),

0 comments on commit 08a6188

Please sign in to comment.