mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 23:20:25 +08:00
different log
This commit is contained in:
parent
c337eac37c
commit
59bde1811c
1 changed files with 3 additions and 2 deletions
|
@ -108,10 +108,11 @@ export function swapElements(
|
|||
}
|
||||
|
||||
export function changePage(page, norestart = false) {
|
||||
console.log("change");
|
||||
if (pageTransition) {
|
||||
console.log(`change page ${page} stopped`);
|
||||
return;
|
||||
}
|
||||
console.log(`change page ${page}`);
|
||||
let activePage = $(".page.active");
|
||||
$(".page").removeClass("active");
|
||||
$("#wordsInput").focusout();
|
||||
|
@ -255,7 +256,7 @@ $(".merchBanner .fas").click((event) => {
|
|||
});
|
||||
|
||||
$(".scrollToTopButton").click((event) => {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' });
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
});
|
||||
|
||||
$(document).on("click", "#bottom .leftright .right .current-theme", (e) => {
|
||||
|
|
Loading…
Reference in a new issue