fix: app.newTopic usage

isekai-main
Barış Soner Uşaklı 2 years ago
parent 05460d8ecc
commit 9f3bdf75d0

@ -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');
}

Loading…
Cancel
Save