|
@@ -697,7 +697,7 @@ function auto_share(key) {
|
|
|
if (!share) {
|
|
if (!share) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- const shares = share.parentElement.querySelectorAll('.dropdown-menu .item a');
|
|
|
|
|
|
|
+ const shares = share.parentElement.querySelectorAll('.dropdown-menu .item [data-type]');
|
|
|
if (typeof key === 'undefined') {
|
|
if (typeof key === 'undefined') {
|
|
|
// Display the share div
|
|
// Display the share div
|
|
|
location.hash = share.id;
|
|
location.hash = share.id;
|