aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/index/normal/entry_bottom.phtml
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-09-07 23:24:05 +0200
committerGravatar GitHub <noreply@github.com> 2024-09-07 23:24:05 +0200
commitf7235bcb54e9f24e4de1f83d7428fa3ff970bb05 (patch)
tree10e23a26d0ec5a8758ac2c760251ad82887ef944 /app/views/helpers/index/normal/entry_bottom.phtml
parent93c102d7eab69fee76f50fe207f9d3f4022372ca (diff)
Improved: refactor the sharing menu to use a template instead of duplicated HTML code (#6751)
* <script> --> <template> * sharing menu * normal view, global view (reader view does not have a share button) * fix
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
-rw-r--r--app/views/helpers/index/normal/entry_bottom.phtml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml
index f8cf0eda3..1de8395bc 100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@ -76,8 +76,7 @@
<a class="dropdown-toggle" href="#dropdown-share-<?= $this->entry->id() ?>">
<?= _i('share') ?><?= _t('index.share') ?>
</a>
- <?php $this->renderHelper('index/normal/entry_share_menu'); ?>
- <a class="dropdown-close" href="#close">❌</a>
+ <?php /* entry_share_menu */ ?>
</div>
<?php } ?>
</li><?php