From 55418b3f6f9c42296d6e461100cdc4f47eed884d Mon Sep 17 00:00:00 2001 From: alterdekim Date: Sat, 6 Jul 2024 21:56:12 +0300 Subject: [PATCH] script editor js added fix --- src/main/resources/static/javascript/script-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/javascript/script-editor.js b/src/main/resources/static/javascript/script-editor.js index 13a1832..e24583e 100644 --- a/src/main/resources/static/javascript/script-editor.js +++ b/src/main/resources/static/javascript/script-editor.js @@ -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]"]; -$.urlParam = function(name){ +urlParam = function(name){ var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); if (results==null) { return null;