aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tpl/default/js/shaarli.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/js/shaarli.js b/tpl/default/js/shaarli.js
index b120c91e..4f49affa 100644
--- a/tpl/default/js/shaarli.js
+++ b/tpl/default/js/shaarli.js
@@ -606,7 +606,7 @@ function htmlEntities(str)
606 606
607function activateFirefoxSocial(node) { 607function activateFirefoxSocial(node) {
608 var loc = location.href; 608 var loc = location.href;
609 var baseURL = loc.substring(0, loc.lastIndexOf("/")); 609 var baseURL = loc.substring(0, loc.lastIndexOf("/") + 1);
610 610
611 // Keeping the data separated (ie. not in the DOM) so that it's maintainable and diffable. 611 // Keeping the data separated (ie. not in the DOM) so that it's maintainable and diffable.
612 var data = { 612 var data = {
@@ -619,7 +619,7 @@ function activateFirefoxSocial(node) {
619 icon32URL: baseURL + "/images/favicon.ico", 619 icon32URL: baseURL + "/images/favicon.ico",
620 icon64URL: baseURL + "/images/favicon.ico", 620 icon64URL: baseURL + "/images/favicon.ico",
621 621
622 shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{text}&source=firefoxsocialapi{/noparse}", 622 shareURL: baseURL + "?post=%{url}&title=%{title}&description=%{text}&source=firefoxsocialapi",
623 homepageURL: baseURL 623 homepageURL: baseURL
624 }; 624 };
625 node.setAttribute("data-service", JSON.stringify(data)); 625 node.setAttribute("data-service", JSON.stringify(data));