diff --git a/src/sass/settings.sass b/src/sass/settings.sass index fd655ab..d496d3c 100644 --- a/src/sass/settings.sass +++ b/src/sass/settings.sass @@ -126,11 +126,6 @@ body border-radius: 12px - cursor: pointer - - &:hover - background-color: #eff2ff - .checkbox-mark display: flex @@ -151,8 +146,6 @@ body width: 12px .checkbox-active - background-color: #eff2ff - .checkbox-mark background-color: #657ef8 diff --git a/src/ts/settings.ts b/src/ts/settings.ts index e2f1f5b..4780ccb 100644 --- a/src/ts/settings.ts +++ b/src/ts/settings.ts @@ -31,7 +31,7 @@ $(() => { $(`.menu-item[anchor=${anchor}]`).addClass('menu-item-active'); }); - $('.checkbox').on('click', (e) => { + $('.checkbox-mark').on('click', (e) => { let item = $(e.target); while (!item.hasClass('checkbox'))