Bug 239919 followup: address reviewer comments, patch by Martijn Wargers <martijn.martijn@gmail.com>
git-svn-id: svn://10.0.0.236/trunk@184614 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
15024dfaec
commit
dfd7b61246
@ -427,7 +427,9 @@
|
||||
break;
|
||||
case "truespeed":
|
||||
//needed to update this._scrollDelay
|
||||
setTimeout(function(x){ x._set_scrollDelay(x.getAttribute('scrolldelay'), false); }, 0, this);
|
||||
var myThis = this;
|
||||
var lambda = function() {myThis._set_scrollDelay(myThis.getAttribute('scrolldelay'), false);}
|
||||
window.setTimeout(lambda, 0);
|
||||
break;
|
||||
case "behavior":
|
||||
this._set_behavior(newValue, canGenerateError);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user