Created
November 14, 2017 17:21
-
-
Save bryphe/95982b583b28c9d876fd751a73b97443 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const activate = (oni) => { | |
... | |
console.log("config activated") | |
// Grab the status-bar element, and force it to have a box-shadow | |
// This is a bit fragile, because it relies on the status-bar being | |
// available prior to loading the config. In addition, we may | |
// at some point sandbox the config such that the DOM is not available... | |
document.body.getElementsByClassName("status-bar")[0].style["box-shadow"] = "none"; | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment