Commit 55912feb by Őry Máté

dashboard: fix notification onclick handler

.on('click') instead of .click() as notifications are no longer part of the
DOM at onload
parent a9a2e21b
...@@ -207,7 +207,7 @@ $(function () { ...@@ -207,7 +207,7 @@ $(function () {
}); });
/* notification message toggle */ /* notification message toggle */
$(".notification-message-subject").click(function() { $(document).on('click', ".notification-message-subject", function() {
$(".notification-message-text", $(this).parent()).slideToggle(); $(".notification-message-text", $(this).parent()).slideToggle();
return false; return false;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment