Skip to content

Commit

Permalink
Fix adding scrollbar dimension twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed Mar 15, 2013
1 parent 4d31236 commit 60ec6ae
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 60ec6ae

Please sign in to comment.