Use different notifications for local elements.
[Sone.git] / src / main / resources / static / javascript / sone.js
index 0cc6480..dd33308 100644 (file)
@@ -1079,8 +1079,10 @@ function loadNotifications(notificationIds) {
                                oldNotification.replaceWith(notification.show());
                        } else {
                                $("#sone #notification-area").append(notification);
-                               notification.slideDown();
-                               setActivity();
+                               if (value.id.substring(0, 5) != "local") {
+                                       notification.slideDown();
+                                       setActivity();
+                               }
                        }
                });
        });