lint compliance...

This commit is contained in:
yflory 2019-09-09 18:10:20 +02:00
parent d92122347f
commit e7f56ca236

View File

@ -128,7 +128,7 @@ define([
// data = { type: 'type', content: {msg: 'msg', hash: 'hash'} } // data = { type: 'type', content: {msg: 'msg', hash: 'hash'} }
console.debug(data.type, data.content); console.debug(data.type, data.content);
pushMessage(data); pushMessage(data);
if (data.content && typeof (data.content.getFormatText) == "function") { if (data.content && typeof (data.content.getFormatText) === "function") {
var text = $('<div>').html(data.content.getFormatText()).text(); var text = $('<div>').html(data.content.getFormatText()).text();
cb({ cb({
msg: text msg: text