Skip to content
This repository
Browse code

Fix typo in layout.js.

  • Loading branch information...
commit 08a6188e0ebf55681feaacc094c57c2992662840 1 parent 949dc83
Andrew Dupont savetheclocktower authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 src/dom/layout.js
8 src/dom/layout.js
@@ -885,11 +885,11 @@
885 885 }
886 886
887 887 var offsetParent = getOffsetParent(element);
888   - var eOffset = element.viewportOffset(), pOffset =
889   - offsetParent.viewportOffset();
  888 + var eOffset = element.viewportOffset(),
  889 + pOffset = offsetParent.viewportOffset();
890 890
891   - var offset = eOffset.relativeTo(pOffset);
892   - var layout = element.get('layout');
  891 + var offset = eOffset.relativeTo(pOffset);
  892 + var layout = element.getLayout();
893 893
894 894 element.store('prototype_absolutize_original_styles', {
895 895 left: element.getStyle('left'),

0 comments on commit 08a6188

Please sign in to comment.
Something went wrong with that request. Please try again.