aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/index/normal/entry_bottom.phtml
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2021-01-03 12:20:15 -0500
committerGravatar GitHub <noreply@github.com> 2021-01-03 18:20:15 +0100
commit46c8f6e77b74c97993414af1c3a3a8a047414baf (patch)
treeeb1327838aee14be4b0ecae8be2670d69ee4f2e1 /app/views/helpers/index/normal/entry_bottom.phtml
parent0567e3894745f541cef2acd7a85486c0f2e40656 (diff)
Add clipboard sharing (#3330)
When the discussion #3327 started, I thought that the clipboard share is a good idea. It never occurred to me because I do not use a smartphone. It might need some polishing but it seems pretty usable as-is. See #3327
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
-rw-r--r--app/views/helpers/index/normal/entry_bottom.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml
index 88fa578de..bf1dc7b3d 100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@ -93,7 +93,7 @@
$share->update($share_options);
?><li class="item share">
<?php if ('GET' === $share->method()) {?>
- <a target="_blank" rel="noreferrer" href="<?= $share->url() ?>"><?= $share->name() ?></a>
+ <a target="_blank" rel="noreferrer" href="<?= $share->url() ?>" data-type="<?= $share->type() ?>"><?= $share->name() ?></a>
<?php } else {?>
<a href="POST"><?= $share->name() ?></a>
<form method="POST" action="<?= $share->url() ?>" disabled="disabled">