From e7f56ca23643873d37a50cdaed64a4ae44855f98 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 9 Sep 2019 18:10:20 +0200 Subject: [PATCH] lint compliance... --- www/common/sframe-common-mailbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/sframe-common-mailbox.js b/www/common/sframe-common-mailbox.js index f44618b32..35bf5df70 100644 --- a/www/common/sframe-common-mailbox.js +++ b/www/common/sframe-common-mailbox.js @@ -128,7 +128,7 @@ define([ // data = { type: 'type', content: {msg: 'msg', hash: 'hash'} } console.debug(data.type, data.content); pushMessage(data); - if (data.content && typeof (data.content.getFormatText) == "function") { + if (data.content && typeof (data.content.getFormatText) === "function") { var text = $('
').html(data.content.getFormatText()).text(); cb({ msg: text