diff options
author | nodiscc <nodiscc@gmail.com> | 2016-04-15 01:55:52 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2016-06-12 15:10:31 +0200 |
commit | c3599302aaf9f7bf25601f21beff1946aa1737d1 (patch) | |
tree | 3840fa28199f2bd0310b745c5a24d5b96b5bf2ee | |
parent | bb9ca54838e2f877635197541e8439171c83d5dc (diff) | |
download | Shaarli-c3599302aaf9f7bf25601f21beff1946aa1737d1.tar.gz Shaarli-c3599302aaf9f7bf25601f21beff1946aa1737d1.tar.zst Shaarli-c3599302aaf9f7bf25601f21beff1946aa1737d1.zip |
Firefox Share: Use selected text as description
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Social_API/Share
-rw-r--r-- | tpl/tools.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tools.html b/tpl/tools.html index 78b81663..7b4eba09 100644 --- a/tpl/tools.html +++ b/tpl/tools.html | |||
@@ -79,7 +79,7 @@ | |||
79 | icon32URL: baseURL + "/images/favicon.ico", | 79 | icon32URL: baseURL + "/images/favicon.ico", |
80 | icon64URL: baseURL + "/images/favicon.ico", | 80 | icon64URL: baseURL + "/images/favicon.ico", |
81 | 81 | ||
82 | shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{description}&source=firefoxsocialapi{/noparse}", | 82 | shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{text}&source=firefoxsocialapi{/noparse}", |
83 | homepageURL: baseURL | 83 | homepageURL: baseURL |
84 | }; | 84 | }; |
85 | node.setAttribute("data-service", JSON.stringify(data)); | 85 | node.setAttribute("data-service", JSON.stringify(data)); |