Fix scrollbar in Safari 4
This commit is contained in:
parent
a7a7dc06f3
commit
4d8e4b29ab
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ var ScrollBar = function(parent) {
|
|||
parent.appendChild(this.element);
|
||||
|
||||
this.width = dom.scrollbarWidth();
|
||||
this.element.style.width = this.width;
|
||||
this.element.style.width = this.width + "px";
|
||||
|
||||
event.addListener(this.element, "scroll", this.onScroll.bind(this));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue