careless miss

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4054 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-04-07 01:56:47 +00:00
parent 8954bb94d1
commit a2b3304529

View File

@ -2597,7 +2597,7 @@ TreeStyleTabBrowser.prototype = {
}
else {
pixels = this.scrollBox.scrollIncrement;
var ltr = window.getComputedStyle(this.parentNode, null).direction == 'ltr';
var ltr = window.getComputedStyle(tabs, null).direction == 'ltr';
if (aEvent.screenX < box.screenX + this.autoScrollArea) {
pixels *= -1;
}