mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-29 12:39:45 +00:00
Check identifier for type, too
This commit is contained in:
parent
21f76a8f27
commit
4fe974e7a8
@ -122,7 +122,7 @@ Module.register("calendar", {
|
||||
|
||||
// Override socket notification handler.
|
||||
socketNotificationReceived: function (notification, payload) {
|
||||
if (this.identifier != payload.id)
|
||||
if (this.identifier !== payload.id)
|
||||
{return;}
|
||||
|
||||
if (notification === "CALENDAR_EVENTS") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user