Initial Values for Top Space variables
This commit is contained in:
1 parent
b988265a08
commit
5dba03bd4c
5 files changed
+20
No files matched your search
@@ -25,6 +25,10 @@ function newCurrentBot() {
|
||||
function initialize() {
|
||||
|
||||
window.CURRENT_BOT = window.localStorage.getItem("currentBot");
|
||||
|
||||
if (window.DEV_TEAM === null) {
|
||||
window.DEV_TEAM = "No Bot";
|
||||
}
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
@@ -25,6 +25,10 @@ function newCurrentProcess() {
|
||||
function initialize() {
|
||||
|
||||
window.CURRENT_PROCESS = window.localStorage.getItem("currentProcess");
|
||||
|
||||
if (window.CURRENT_PROCESS === null) {
|
||||
window.CURRENT_PROCESS = "";
|
||||
}
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
@@ -25,6 +25,10 @@ function newCurrentStartMode() {
|
||||
function initialize() {
|
||||
|
||||
window.CURRENT_START_MODE = window.localStorage.getItem("currentStartMode");
|
||||
|
||||
if (window.CURRENT_START_MODE === null) {
|
||||
window.CURRENT_START_MODE = "";
|
||||
}
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
@@ -25,6 +25,10 @@ function newDevTeam() {
|
||||
function initialize() {
|
||||
|
||||
window.DEV_TEAM = window.localStorage.getItem("devTeam");
|
||||
|
||||
if (window.DEV_TEAM === null) {
|
||||
window.DEV_TEAM = "Not devTeam Member";
|
||||
}
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
@@ -25,6 +25,10 @@ function newEndUser() {
|
||||
function initialize() {
|
||||
|
||||
window.USER_LOGGED_IN = window.localStorage.getItem("userName");
|
||||
|
||||
if (window.USER_LOGGED_IN === null) {
|
||||
window.USER_LOGGED_IN = "Guest User";
|
||||
}
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
Reference in new issue
Block a user