mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-13 05:51:03 +00:00
deleted notification of mention that is appearing too late
This commit is contained in:
parent
dd9f6bcc63
commit
473fdb8c24
@ -98,10 +98,12 @@ function requestMentionsCount() {
|
||||
if( _newMentionsUpdated ) {
|
||||
_newMentionsUpdated = false;
|
||||
|
||||
$.MAL.soundNotifyMentions();
|
||||
if ( _newMentions ) {
|
||||
$.MAL.soundNotifyMentions();
|
||||
|
||||
if ($.Options.getShowDesktopNotifMentionsOpt() === 'enable') {
|
||||
$.MAL.showDesktopNotif(false, polyglot.t('You got')+' '+polyglot.t('new_mentions', _newMentions)+'.', false,'twister_notification_new_mentions', $.Options.getShowDesktopNotifMentionsTimerOpt(), function(){$.MAL.showMentions(defaultScreenName)}, false)
|
||||
if ($.Options.getShowDesktopNotifMentionsOpt() === 'enable') {
|
||||
$.MAL.showDesktopNotif(false, polyglot.t('You got')+' '+polyglot.t('new_mentions', _newMentions)+'.', false,'twister_notification_new_mentions', $.Options.getShowDesktopNotifMentionsTimerOpt(), function(){$.MAL.showMentions(defaultScreenName)}, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user