mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-20 05:42:36 +02:00
Fix displaying of selected hint, especally with g;
This commit is contained in:
1 parent
a9206c4e3c
commit
d0e2262565
3 files changed
+25
-23
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user