Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AleziaKurdis authored Nov 10, 2023
1 parent 6121883 commit 9108bce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CEON/gotgPortal.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
portals[i].id = Uuid.NULL;
portals[i].zoneID = Uuid.NULL;
}
//print("TEST: " + findGetParameter("test"));
print("TEST: " + findGetParameter("test"));
//###########################################################################################################


Expand All @@ -55,12 +55,12 @@
"captionColor": "#ffae00"
});

/* function findGetParameter(parameterName) {
function findGetParameter(parameterName) {
var index;
var result = null,
tmp = [];
var result = null, tmp = [];
var thisLocation = location.href;
var items = thisLocation.search.substr(1).split("&");
var theParam = thisLocation.split("?");
var items = theParam[1].split("&");
for (index = 0; index < items.length; index++) {
tmp = items[index].split("=");
if (tmp[0] === parameterName) {
Expand All @@ -69,7 +69,7 @@
}
return result;
}
*/
this.preload = function(entityID) {
var properties = Entities.getEntityProperties(entityID, ["position"]);
thisPosition = properties.position;
Expand Down

0 comments on commit 9108bce

Please sign in to comment.