diff options
author | Ben Isenhart | 2019-07-23 21:59:00 -0400 |
---|---|---|
committer | Ben Isenhart | 2019-07-23 21:59:00 -0400 |
commit | 10645f3b1065e3f770b653d29527baee9d3adba1 (patch) | |
tree | af5262ce56d872b13793491e746cd9ad4f189e4a /darkify_slack.js | |
parent | 4051dec53b45997aacbfe5ca34488e4a39e98c9f (diff) | |
download | aur-10645f3b1065e3f770b653d29527baee9d3adba1.tar.gz |
update to 4.0.0
Diffstat (limited to 'darkify_slack.js')
-rw-r--r-- | darkify_slack.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/darkify_slack.js b/darkify_slack.js index 03069c5323b2..ea7a32e7ce6e 100644 --- a/darkify_slack.js +++ b/darkify_slack.js @@ -1,5 +1,8 @@ document.addEventListener("DOMContentLoaded", function() { - $("<style></style>").appendTo('head').html(` + let s = document.createElement('style'); + s.type = 'text/css'; + s.innerHTML = ` HERE -`); +`; + document.head.appendChild(s); }); |