Board Thread:Support Requests - Designing Your Wiki/@comment-27713488-20170721221456/@comment-4347751-20170722153925

Fngplg wrote: you can change whole 'if' to (new BannerNotification(message)).show: $.getJSON("http://WIKINAME.wikia.com/api.php?action=query&meta=userinfo&uiprop=editcount&format=json", function(data) {   var user = data.query.userinfo.editcount;    var message = "Note:PLEASE READ THE SPOILER POLICY OR INSERT TEXT HERE BLALALALALLALALAL";    if ( user < 3 && (wgAction = "edit")) {        (new BannerNotification(message)).show;    } }); Above code doesn't work for me?