Skip to content

Commit

Permalink
Merge pull request Automattic#52 from kapouer/patch-2
Browse files Browse the repository at this point in the history
Fix adding scrollbar dimension twice.
  • Loading branch information
rauchg committed May 21, 2013
2 parents e435a1b + 60ec6ae commit 073c8a2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions antiscroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@
, 'height': '+=' + (this.x ? scrollbarSize() : 0)
});

var cssMap = {};
if (this.x) cssMap.width = '+=' + scrollbarSize();
if (this.y) cssMap.height = '+=' + scrollbarSize();
this.inner.css(cssMap);

this.refresh();
};

Expand Down

0 comments on commit 073c8a2

Please sign in to comment.