Skip to content

Commit

Permalink
Merge js, css
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Oct 20, 2018
1 parent 97a4a31 commit 9fe4d39
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
14 changes: 10 additions & 4 deletions css/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions js/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -6723,12 +6723,14 @@
user_settings.theme = theme;
Page.server_info.user_settings = user_settings;
document.getElementById("style-live").innerHTML = "* { transition: all 0.5s ease-in-out }";
document.body.className = document.body.className.replace(/theme-[a-z]+/, "");
document.body.className += " theme-" + theme;
Page.cmd("userSetGlobalSettings", [user_settings]);
return setTimeout((function() {
return document.getElementById("style-live").innerHTML = "";
}), 2000);
document.body.className = document.body.className.replace(/theme-[a-z]+/, "");
document.body.className += " theme-" + theme;
return setTimeout((function() {
return document.getElementById("style-live").innerHTML = "";
}), 1000);
}), 300);
});
return false;
};
Expand Down

0 comments on commit 9fe4d39

Please sign in to comment.