From: nodiscc Date: Thu, 14 Apr 2016 23:55:52 +0000 (+0200) Subject: Firefox Share: Use selected text as description X-Git-Tag: v0.8.0~29 X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=commitdiff_plain;h=c3599302aaf9f7bf25601f21beff1946aa1737d1 Firefox Share: Use selected text as description https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Social_API/Share --- 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 @@ icon32URL: baseURL + "/images/favicon.ico", icon64URL: baseURL + "/images/favicon.ico", - shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{description}&source=firefoxsocialapi{/noparse}", + shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{text}&source=firefoxsocialapi{/noparse}", homepageURL: baseURL }; node.setAttribute("data-service", JSON.stringify(data));