mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-04 03:05:46 +01:00
Fix some crufty old mode-change related bugginess.
This commit is contained in:
@@ -779,7 +779,7 @@ Class.prototype = {
|
||||
const self = this;
|
||||
let notify = { notify: function notify(timer) { callback.call(self) } };
|
||||
let timer = services.create("timer");
|
||||
timer.initWithCallback(notify, timeout, timer.TYPE_ONE_SHOT);
|
||||
timer.initWithCallback(notify, timeout || 0, timer.TYPE_ONE_SHOT);
|
||||
return timer;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user