]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/js/shaarli.js
Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-title
[github/shaarli/Shaarli.git] / tpl / default / js / shaarli.js
index f38ba62ffdb114e88e2df900836c4f19eeecfd7a..1c66ebbdd708f033c5ae26e747e3f313137edee7 100644 (file)
@@ -607,10 +607,11 @@ function htmlEntities(str)
 function activateFirefoxSocial(node) {
     var loc = location.href;
     var baseURL = loc.substring(0, loc.lastIndexOf("/") + 1);
+    var title = document.title;
 
     // Keeping the data separated (ie. not in the DOM) so that it's maintainable and diffable.
     var data = {
-        name: "{$shaarlititle}",
+        name: title,
         description: "The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community.",
         author: "Shaarli",
         version: "1.0.0",