aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/main.js b/lib/main.js
index 55619e0..5fb37b6 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -1,11 +1,9 @@
exports.main = function(options, callback) {
require("tab-browser").whenContentLoaded(
function(window) {
- if (window.location.protocol == "https" &&
+ if (window.location.protocol == "https:" &&
/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(window.location.href)) {
- require("persistent-page-mod").register(window, function() {
- tweakBugzilla(window.document);
- });
+ tweakBugzilla(window.document);
}
}
);
@@ -334,7 +332,7 @@ function tweakBugzilla(d) {
AttachmentFlagHandler.setupLinks(d);
},true);
d.body.appendChild(iframe);
-});
+}
var TransformValues = {
linkifyURLs: function (str) {