Fix global leaks detected by mocha

Fix globals leaked in stringUtils, isJson and static/nav.html.
This commit is contained in:
Hornwitser committed 2019-08-24 11:02:50 +02:00
1 parent 0a9ddef120
commit 0d4ad2f075
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
</div>
<%# Very ugly ejs code to hide the Players button if the playerManager plugin isn`t installed %>
<%
sidebarPluginButtonsHtml = "";
let sidebarPluginButtonsHtml = "";
for(let o in locals.masterPlugins){
let plug = locals.masterPlugins[o];
if(plug.main