mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:17:59 +01:00
Fix some more bootstrapping update bugs.
This commit is contained in:
@@ -115,8 +115,6 @@ function Dactyl() {
|
||||
|
||||
this.pages = {};
|
||||
|
||||
Cu.import("resource://dactyl/bootstrap.jsm");
|
||||
JSMLoader.init();
|
||||
JSMLoader.load("base.jsm", global);
|
||||
require(global, "config");
|
||||
require(global, "services");
|
||||
@@ -194,6 +192,7 @@ Dactyl.prototype = {
|
||||
observe: function observe(subject, topic, data) {
|
||||
if (topic === "profile-after-change") {
|
||||
Cu.import("resource://dactyl/bootstrap.jsm");
|
||||
JSMLoader.init();
|
||||
require(global, "overlay");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user