Commit 0796a71e authored by lechuck's avatar lechuck Committed by agata

added new url discovery to privacy share buttons

parent 8bc430e2
......@@ -75,6 +75,9 @@
_get_uri: function(){
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
......
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