aboutsummaryrefslogtreecommitdiffstats
path: root/direct_bookmark.js
diff options
context:
space:
mode:
Diffstat (limited to 'direct_bookmark.js')
-rw-r--r--direct_bookmark.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/direct_bookmark.js b/direct_bookmark.js
index d796dbc..e7d0a00 100644
--- a/direct_bookmark.js
+++ b/direct_bookmark.js
@@ -666,9 +666,9 @@ for Migemo search: require XUL/Migemo Extension
xhr.send(null);
let html = parseHTML(xhr.responseText);
- let title = getFirstElementByXPath("title", html);
+ let title = getFirstElementByXPath("//title/text()", html);
- return title ? title.innerText : '';
+ return title.nodeValue;
}
liberator.modules.commands.addUserCommand(['btags'],"Update Social Bookmark Tags",
function(arg){setTimeout(function(){getTagsAsync().call([])},0)}, {}, true);