Commit 888c9d27 authored by lechuck's avatar lechuck Committed by lucha

added new url discovery to privacy share buttons

parent 7e24c752
......@@ -77,6 +77,9 @@
var url = this.element.parents(".post").find('.entry-title').find("a").attr("href");
if (url)
return url;
var url = this.element.parents(".post").find('.title').find("a").attr("href");
if (url)
return url;
else
return document.URL;
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment