aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/notification.php
diff options
context:
space:
mode:
authorwinter2025-01-26 21:53:26 +0000
committerwinter2025-01-26 21:53:26 +0000
commit6b58bf53e312a67119289b894c5b482d057e5665 (patch)
treefef168089a75d73353af1a79456e711c72385ca3 /templates/notification.php
parent7d3f35b1895dd3fe08af0f5fe403ff339acd2456 (diff)
make mentions work properly + ui for them
Diffstat (limited to 'templates/notification.php')
-rw-r--r--templates/notification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/notification.php b/templates/notification.php
index a23a3a6..d787f5e 100644
--- a/templates/notification.php
+++ b/templates/notification.php
@@ -20,7 +20,7 @@
<?php endif; ?>
<span class="body"><?= htmlspecialchars($body) ?></span>
</div>
- <div hidden class="notifier" <?php if ($unread): ?> _="
+ <div hidden class="notifier" <?php if ($unread ?? false): ?> _="
on load
set title to innerText of previous .title
set body to innerText of previous .body