Merge pull request #771 from Squidly271/Notify

Fix unable to dismiss all notifications when on bottom
This commit is contained in:
tom mortensen
2020-11-22 09:38:24 -08:00
committed by GitHub
5 changed files with 5 additions and 1 deletions
@@ -380,7 +380,7 @@ $(function() {
$('#'+tab).attr('checked', true);
updateTime();
$.jGrowl.defaults.closeTemplate = '<i class="fa fa-close"></i>';
$.jGrowl.defaults.closerTemplate = '<?=$notify['position'][0]=='b' ? '<div>':'<div class="top">'?>[ <?=_("close all notifications")?> ]</div>';
$.jGrowl.defaults.closerTemplate = '<?=$notify['position'][0]=='b' ? '<div class="bottom">':'<div class="top">'?>[ <?=_("close all notifications")?> ]</div>';
$.jGrowl.defaults.sticky = true;
$.jGrowl.defaults.check = 100;
$.jGrowl.defaults.position = '<?=$notify['position']?>';