Fix bug 219052. Patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky

This commit is contained in:
bzbarsky%mit.edu 2005-10-19 13:55:33 +00:00
Родитель d667547c1c
Коммит f08e03d05c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -250,7 +250,7 @@
case "right":
this.dirsign = -1;
this.stopAt = (this.behaviorField != 'alternate') ? this.innerDiv.offsetLeft - this.outerDiv.offsetWidth : this.innerDiv.offsetWidth;
this.stopAt = (this.behaviorField != 'alternate') ? 0 : this.innerDiv.offsetWidth;
this.startAt = this.outerDiv.offsetWidth
+ ((this.behaviorField != 'alternate') ? (this.innerDiv.offsetWidth + this.stopAt) : 0);
break;
@ -258,7 +258,7 @@
case "left":
default:
this.dirsign = 1;
this.startAt = (this.behaviorField != 'alternate') ? (this.innerDiv.offsetLeft - this.outerDiv.offsetWidth) : this.innerDiv.offsetWidth;
this.startAt = (this.behaviorField != 'alternate') ? 0 : this.innerDiv.offsetWidth;
this.stopAt = this.outerDiv.offsetWidth
+ ((this.behaviorField != 'alternate') ? (this.innerDiv.offsetWidth + this.startAt) : 0);
}