diff options
Diffstat (limited to 'p/scripts')
| -rw-r--r-- | p/scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index fda17b885..5c416a701 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -697,7 +697,7 @@ function auto_share(key) { if (!share) { return; } - const shares = share.parentElement.querySelectorAll('.dropdown-menu .item a'); + const shares = share.parentElement.querySelectorAll('.dropdown-menu .item [data-type]'); if (typeof key === 'undefined') { // Display the share div location.hash = share.id; |
