Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11 from fragility/master

Store position setting when calling `Element.absolutize`.
  • Loading branch information...
commit 27c7db3ba3267515d10311dd3cd9b165676c75f1 2 parents ef4a928 + 660c08a
@savetheclocktower savetheclocktower authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/prototype/dom/layout.js
View
9 src/prototype/dom/layout.js
@@ -1187,10 +1187,11 @@
var layout = element.getLayout();
element.store('prototype_absolutize_original_styles', {
- left: element.getStyle('left'),
- top: element.getStyle('top'),
- width: element.getStyle('width'),
- height: element.getStyle('height')
+ position: element.getStyle('position'),
+ left: element.getStyle('left'),
+ top: element.getStyle('top'),
+ width: element.getStyle('width'),
+ height: element.getStyle('height')
});
element.setStyle({
Please sign in to comment.
Something went wrong with that request. Please try again.