зеркало из https://github.com/mozilla/gecko-dev.git
Bug 239919 followup: address reviewer comments, patch by Martijn Wargers <martijn.martijn@gmail.com>
This commit is contained in:
Родитель
1d73b37ee8
Коммит
9c7d01c5ee
|
@ -427,7 +427,9 @@
|
||||||
break;
|
break;
|
||||||
case "truespeed":
|
case "truespeed":
|
||||||
//needed to update this._scrollDelay
|
//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;
|
break;
|
||||||
case "behavior":
|
case "behavior":
|
||||||
this._set_behavior(newValue, canGenerateError);
|
this._set_behavior(newValue, canGenerateError);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче