Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/tcoulter/master' into pull-resq…
Browse files Browse the repository at this point in the history
…uest

Conflicts:
	antiscroll.js
  • Loading branch information
arlm committed Nov 5, 2012
2 parents 5504c58 + f7030d0 commit 684899b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions antiscroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
this.padding = undefined == this.options.padding ? 2 : this.options.padding;

this.inner = this.el.find('.antiscroll-inner');
this.inner.css({
'width': '+=' + (this.y ? scrollbarSize() : 0)
, 'height': '+=' + (this.x ? scrollbarSize() : 0)
});

var cssMap = {};
if (this.x) cssMap.width = '+=' + scrollbarSize();
Expand Down

0 comments on commit 684899b

Please sign in to comment.