mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 01:15:49 +08:00
removed not needed code
This commit is contained in:
parent
4528f85bdf
commit
53966af9e7
1 changed files with 0 additions and 15 deletions
15
src/js/ui.js
15
src/js/ui.js
|
@ -254,21 +254,6 @@ window.addEventListener("keydown", function (e) {
|
|||
}
|
||||
});
|
||||
|
||||
$(".merchBanner a").click((event) => {
|
||||
$(".merchBanner").remove();
|
||||
window.localStorage.setItem("merchbannerclosed", true);
|
||||
});
|
||||
|
||||
$(".merchBanner .fas").click((event) => {
|
||||
$(".merchBanner").remove();
|
||||
window.localStorage.setItem("merchbannerclosed", true);
|
||||
// Notifications.add(
|
||||
// "Won't remind you anymore. Thanks for continued support <3",
|
||||
// 0,
|
||||
// 5
|
||||
// );
|
||||
});
|
||||
|
||||
$(document).on("click", "#bottom .leftright .right .current-theme", (e) => {
|
||||
if (e.shiftKey) {
|
||||
UpdateConfig.toggleCustomTheme();
|
||||
|
|
Loading…
Reference in a new issue