Dark theme tweaks and improvements

This commit is contained in:
n1474335 2017-05-07 01:13:47 +01:00
parent 0dc72d8301
commit 280f1ee2df
9 changed files with 44 additions and 47 deletions

View file

@ -137,7 +137,7 @@ OptionsWaiter.prototype.setWordWrap = function() {
* Changes the theme by setting the class of the <html> element.
*/
OptionsWaiter.prototype.themeChange = function (e) {
var themeClass = e.target.value;
const themeClass = e.target.value;
document.querySelector(":root").className = themeClass;
};