* [refac bug #53139] Fix update messagebar.

This commit is contained in:
wangyidong
2024-07-30 11:19:47 +08:00
committed by 孙广明
parent 18e39d3a96
commit ade76cd129
+1 -1
View File
@@ -1006,7 +1006,7 @@ window.browserNotify = function()
if(!showCount) dotStyle += 'width: 5px; height: 5px;';
if(newCount > 99) newCount = '99+';
let dotHtml = '<span class="label danger label-dot absolute' + (showCount ? ' rounded-sm' : '') + '" style="' + dotStyle + '">' + (showCount ? unreadCount : '') + '</span>';
let dotHtml = '<span class="label danger label-dot absolute' + (showCount ? ' rounded-sm' : '') + '" style="' + dotStyle + '">' + (showCount ? newCount : '') + '</span>';
$('#apps .app-container').each(function()
{
let $iframeMessageBar = $(this).find('iframe').contents().find('#messageBar');