script editor js added fix
This commit is contained in:
parent
efed6723ca
commit
55418b3f6f
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user