diff --git a/public/src/app.js b/public/src/app.js index 74648d2627..c457ae89f6 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -282,7 +282,7 @@ if (document.readyState === 'loading') { app.newTopic = function (params) { // backwards compatibilty for old signature (cid, tags) - if (typeof params !== 'object' || params) { + if (typeof params !== 'object') { if (params) { console.warn('[deprecated] app.newTopic(cid, tags) please pass in an object'); }