mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
disabled hover to preview on the settings page
This commit is contained in:
parent
25508eb2f3
commit
b8acec1985
1 changed files with 7 additions and 7 deletions
|
@ -143,10 +143,10 @@ $(".pageSettings .section.keyTips .buttons .button.off").click(e => {
|
|||
})
|
||||
|
||||
//themes
|
||||
$(document).on("mouseover",".pageSettings .section.themes .theme", (e) => {
|
||||
let theme = $(e.currentTarget).attr('theme');
|
||||
previewTheme(theme);
|
||||
})
|
||||
// $(document).on("mouseover",".pageSettings .section.themes .theme", (e) => {
|
||||
// let theme = $(e.currentTarget).attr('theme');
|
||||
// previewTheme(theme);
|
||||
// })
|
||||
|
||||
$(document).on("click",".pageSettings .section.themes .theme", (e) => {
|
||||
let theme = $(e.currentTarget).attr('theme');
|
||||
|
@ -154,9 +154,9 @@ $(document).on("click",".pageSettings .section.themes .theme", (e) => {
|
|||
setActiveThemeButton();
|
||||
})
|
||||
|
||||
$(document).on("mouseleave",".pageSettings .section.themes", (e) => {
|
||||
setTheme(config.theme);
|
||||
})
|
||||
// $(document).on("mouseleave",".pageSettings .section.themes", (e) => {
|
||||
// setTheme(config.theme);
|
||||
// })
|
||||
|
||||
//languages
|
||||
$(document).on("click",".pageSettings .section.languages .language", (e) => {
|
||||
|
|
Loading…
Reference in a new issue