Skip to content

Commit

Permalink
There's no need to modify the window with the latest version of snapsie.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Apr 12, 2010
1 parent 040809e commit c0e45b2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions common/src/js/core/lib/snapsie.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ function Snapsie() {
, scrollLeft: drawableElement.scrollLeft
, scrollTop : drawableElement.scrollTop
};
drawableElement.style.overflow = 'hidden';

var capturableDocument;
var frameBCR = { left: 0, top: 0 };
Expand Down Expand Up @@ -81,11 +80,5 @@ function Snapsie() {
frameBCR.left,
frameBCR.top
);

// revert

drawableElement.style.overflow = drawableInfo.overflow;
drawableElement.scrollLeft = drawableInfo.scrollLeft;
drawableElement.scrollTop = drawableInfo.scrollTop;
}
};

0 comments on commit c0e45b2

Please sign in to comment.