Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai
noblogs-wp
Commits
0796a71e
Commit
0796a71e
authored
Nov 18, 2012
by
lechuck
Committed by
agata
Jul 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added new url discovery to privacy share buttons
parent
8bc430e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js
...ns/privacy-share-buttons/js/jquery.privacysharebuttons.js
+3
-0
No files found.
wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js
View file @
0796a71e
...
...
@@ -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
;
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment