diff --git a/statusio-selector.user.js b/statusio-selector.user.js index 3422e97..5cd4e77 100644 --- a/statusio-selector.user.js +++ b/statusio-selector.user.js @@ -1714,6 +1714,10 @@ function setButtonColor(buttonName) { function clearButtonColor(buttonName) { document.getElementById(buttonName).style.background = ''; }; +function checkButtonColor(buttonName) { + var color = document.getElementById(buttonName).style.background; + return color; +}; function selectCheckbox(box) { box.filter("A")[0].classList.add("checked"); box.filter("INPUT")[0].checked = true;