diff options
Diffstat (limited to 'templates/notification.php')
| -rw-r--r-- | templates/notification.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/notification.php b/templates/notification.php index 0a54a6f..0c2c90e 100644 --- a/templates/notification.php +++ b/templates/notification.php @@ -23,8 +23,9 @@ <div class="notifTimestamp"> <?= format_datetime($timestamp) ?> </div> - <div hidden class="notifier" <?php if ($unread ?? false): ?> _=" - on load + <div hidden class="notifier" <?php if ($unread ?? false): ?> data-sent-notification="false" _=" + on load if my @data-sent-notification is 'false' + set my @data-sent-notification to 'true' set title to innerText of previous .title set body to innerText of previous .body set icon to @src of previous <img/> |
