aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/messages_widget.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-07-26 18:00:00 +0000
committerMario <mario@mariovavti.com>2022-07-26 18:00:00 +0000
commit40377796edd8c612ce9d68f52fc146ad32302f9e (patch)
tree92cce4a3ee3627ed28f45ce8f0bb3598be87c8c9 /view/tpl/messages_widget.tpl
parentc452a621fe7db5405d929ebc5f5433c9670fc367 (diff)
parentfedad7f31a1b9133bfd63de7fc19de6916485254 (diff)
downloadvolse-hubzilla-40377796edd8c612ce9d68f52fc146ad32302f9e.tar.gz
volse-hubzilla-40377796edd8c612ce9d68f52fc146ad32302f9e.tar.bz2
volse-hubzilla-40377796edd8c612ce9d68f52fc146ad32302f9e.zip
Merge branch '7.6RC'7.6
Diffstat (limited to 'view/tpl/messages_widget.tpl')
-rw-r--r--view/tpl/messages_widget.tpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/view/tpl/messages_widget.tpl b/view/tpl/messages_widget.tpl
index 83f563db6..ddb21beb5 100644
--- a/view/tpl/messages_widget.tpl
+++ b/view/tpl/messages_widget.tpl
@@ -69,7 +69,9 @@
$(document).ready(function () {
$('.messages-timeago').timeago();
- $('.message[data-b64mid=\'' + bParam_mid + '\']').addClass('active');
+ if (bParam_mid) {
+ $('.message[data-b64mid=\'' + bParam_mid + '\']').addClass('active');
+ }
});
$('#messages-widget').on('scroll', function() {
@@ -130,7 +132,9 @@
else {
$('#messages-empty').show();
}
- $('.message[data-b64mid=\'' + bParam_mid + '\']').addClass('active');
+ if (bParam_mid) {
+ $('.message[data-b64mid=\'' + bParam_mid + '\']').addClass('active');
+ }
$('#messages-loading').hide();
$('.messages-timeago').timeago();