1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-20 21:05:45 +01:00

Fix displaying of selected hint, especally with g;

This commit is contained in:
Kris Maglione
2010-10-09 19:47:32 -04:00
parent a9206c4e3c
commit d0e2262565
3 changed files with 25 additions and 23 deletions

View File

@@ -816,7 +816,7 @@ Class.prototype = {
*/
timeout: function (callback, timeout) {
const self = this;
let notify = { notify: function notify(timer) { callback.call(self) } };
let notify = { notify: function notify(timer) { callback.apply(self) } };
let timer = services.create("timer");
timer.initWithCallback(notify, timeout || 0, timer.TYPE_ONE_SHOT);
return timer;