fix malformed array entry

This commit is contained in:
Tyler 2021-12-06 12:55:29 -06:00
parent aec65f619e
commit 673a3600f8
2 changed files with 3 additions and 13 deletions

View File

@ -1276,10 +1276,6 @@ if (window.location.href.indexOf("60087ab5608daf0535dc8e23") > -1) {
'</center></br></br>';
// regional functions
// function asiasoutheast1ButtonClickAction(zEvent) {
// toggleRegion("asia-southeast1");
// toggleButtonColor("asiasoutheast1Button");
// };
function australiasoutheast1ButtonClickAction(zEvent) {
toggleRegion("australia-southeast1");
toggleButtonColor("australiasoutheast1Button");
@ -1288,7 +1284,6 @@ if (window.location.href.indexOf("60087ab5608daf0535dc8e23") > -1) {
toggleRegion("asia-southeast1");
toggleButtonColor("asiasoutheast1Button");
};
function europewest1ButtonClickAction(zEvent) {
toggleRegion("europe-west1");
toggleButtonColor("europewest1Button");
@ -1461,7 +1456,7 @@ if (window.location.href.indexOf("60087ab5608daf0535dc8e23") > -1) {
buttonArray = [
"stage1",
"stage2",
"stage3am"
"stage3am",
"stage3pm"
];

View File

@ -4,7 +4,7 @@
// @description Effort to simplify configuration of incidents/maintenance windows
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
// @require http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js
// @version 0.0.5
// @version 0.0.6
// @downloadUrl https://gitea.frijole.lol/o0beaner/js-statusio-selector/raw/branch/main/statusio-selector.user.js
// @updateURL https://gitea.frijole.lol/o0beaner/js-statusio-selector/raw/branch/main/statusio-selector.user.js
// @include /^https?://app\.status\.io/dashboard/.*/?(maintenance|incident)/create$/
@ -1312,10 +1312,6 @@ if (window.location.href.indexOf("60087ab5608daf0535dc8e23") > -1) {
'</center></br></br>';
// regional functions
// function asiasoutheast1ButtonClickAction(zEvent) {
// toggleRegion("asia-southeast1");
// toggleButtonColor("asiasoutheast1Button");
// };
function australiasoutheast1ButtonClickAction(zEvent) {
toggleRegion("australia-southeast1");
toggleButtonColor("australiasoutheast1Button");
@ -1324,7 +1320,6 @@ if (window.location.href.indexOf("60087ab5608daf0535dc8e23") > -1) {
toggleRegion("asia-southeast1");
toggleButtonColor("asiasoutheast1Button");
};
function europewest1ButtonClickAction(zEvent) {
toggleRegion("europe-west1");
toggleButtonColor("europewest1Button");
@ -1497,7 +1492,7 @@ if (window.location.href.indexOf("60087ab5608daf0535dc8e23") > -1) {
buttonArray = [
"stage1",
"stage2",
"stage3am"
"stage3am",
"stage3pm"
];