Browse Source

delete console.log() in htmlFormatMsg() for empty input string

readme-update
Simon Grim 9 years ago
parent
commit
17bfce7c43
  1. 4
      js/twister_formatpost.js

4
js/twister_formatpost.js

@ -573,10 +573,8 @@ function htmlFormatMsg(msg, opt) {
return msg.str; return msg.str;
} }
if (!msg) { if (!msg)
console.warn('htmlFormatMsg() error: input string is empty');
return {html: '', mentions: []}; return {html: '', mentions: []};
}
if (opt && opt.markout) if (opt && opt.markout)
var markoutOpt = opt.markout; var markoutOpt = opt.markout;

Loading…
Cancel
Save