fix javascript error if there are no notifications

This commit is contained in:
Mario Vavti 2018-03-05 22:59:05 +01:00
parent a0e0b82067
commit bae2af09a0

View File

@ -1,3 +1,4 @@
{{if $notifications}}
<script> <script>
var notifications_parent; var notifications_parent;
@ -121,8 +122,6 @@
} }
</script> </script>
{{if $notifications}}
<div id="notifications_wrapper"> <div id="notifications_wrapper">
<div id="no_notifications" class="d-xl-none"> <div id="no_notifications" class="d-xl-none">
{{$no_notifications}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span> {{$no_notifications}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span>