aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/notification.php
diff options
context:
space:
mode:
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