Rename variable

This commit is contained in:
Pierre HUBERT 2021-04-11 13:52:18 +02:00
parent 8f8fd3151c
commit 4d05913819
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ ComunicWeb.components.notifications.service = {
//Play song if required
if(this.last_total_count != -1 && total_number_notifs > this.last_total_count)
ComunicWeb.components.notifications.song.play();
NotificationsSong.play();
this.last_total_count = total_number_notifs;

View File

@ -4,7 +4,7 @@
* @author Pierre HUBERT
*/
ComunicWeb.components.notifications.song = {
const NotificationsSong = {
/**
* Song element : null by default