diff options
| author | 2024-12-18 11:02:29 +0100 | |
|---|---|---|
| committer | 2024-12-18 11:02:29 +0100 | |
| commit | 3b87372061b16d172899b29fe9b5414b9194abd4 (patch) | |
| tree | 9c743380eedf09cfcb6c1c74d73d5252a562eba2 /p | |
| parent | ff47cab30bd0310b3e5daa1554f6e9231b1d8cb2 (diff) | |
fix: sharing menu entry id (#7113)
* fix sharing menu entry id
* Update main.js
Diffstat (limited to 'p')
| -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 baedda55c..a1cf5d8ae 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -721,7 +721,7 @@ function show_share_menu(el) { const dropdownMenu = div.querySelector('.dropdown-menu'); if (!dropdownMenu) { - const itemId = el.closest('.flux').id; + const itemId = el.closest('.flux').dataset.entry; const templateId = 'share_article_template'; const id = itemId; const flux_header_el = el.closest('.flux'); |
