]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/notifications.tpl
Merge pull request #5966 from JeroenED/theme/frio/oembed/view-active-class
[friendica.git] / view / theme / frio / templates / notifications.tpl
index dcea0b85fafbe57757f680f6c037b7cc1bdd5d33..b6b1d2da91a1bf9519b9feb522b93149b2d01709 100644 (file)
@@ -1,3 +1,5 @@
+<script type="text/javascript" src="view/theme/frio/frameworks/jquery-color/jquery.color.js"></script>
+<script type="text/javascript" src="view/theme/frio/js/mod_notifications.js"></script>
 
 <div class="generic-page-wrapper">
        {{include file="section_title.tpl" title=$notif_header}}
        {{* The pager *}}
        {{$notif_paginate}}
 </div>
-
-{{* Since only the DIV's inside the notification-list are marked with the class "unseen",
-we need some js to transfer this class to the parent li list-elements *}}
-<script type="text/javascript">
-$(document).ready(function(){
-       if( $(".notif-item").hasClass("unseen")) {
-               $(".notif-item.unseen").parent("li").addClass("unseen");
-       }
-});
-</script>
\ No newline at end of file