summaryrefslogtreecommitdiff
path: root/common/content/liberator.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/liberator.js')
-rw-r--r--common/content/liberator.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/content/liberator.js b/common/content/liberator.js
index 9433eab8..f2ddc6b6 100644
--- a/common/content/liberator.js
+++ b/common/content/liberator.js
@@ -1428,7 +1428,11 @@ window.addEventListener("liberatorHelpLink", function (event) {
if (tag)
var page = liberator.findHelp(tag);
if (page)
+ {
elem.href = "chrome://liberator/locale/" + page;
+ if (buffer.URL.replace(/#.*/, "") == elem.href.replace(/#.*/, "")) // XXX
+ setTimeout(function () { content.postMessage("fragmentChange", "*"); }, 0);
+ }
},
true, true);