From daadfdc079bbb33afc9617e15e927e3ae91d912b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Wed, 29 Aug 2018 10:45:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Don't=20run=20if=20plugin=20is?= =?UTF-8?q?=20not=20sensibly=20configured?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script.js b/script.js index 5f37ab1..3a98d1c 100644 --- a/script.js +++ b/script.js @@ -1,4 +1,7 @@ jQuery(function () { + if (!JSINFO.plugin.usercontact.users_namespace) { + return; + } var regex = new RegExp(JSINFO.plugin.usercontact.users_namespace + '$'); /**