script editor js added fix

This commit is contained in:
Michael Wain 2024-07-06 21:56:12 +03:00
parent efed6723ca
commit 55418b3f6f

View File

@ -7,7 +7,7 @@ editor.session.setMode("ace/mode/lua");
const snippets = ["player", "players[index]", "genders[index]", "hobbies[index]", "healths[index]", "luggages[index]", "works[index]"]; const snippets = ["player", "players[index]", "genders[index]", "hobbies[index]", "healths[index]", "luggages[index]", "works[index]"];
$.urlParam = function(name){ urlParam = function(name){
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
if (results==null) { if (results==null) {
return null; return null;