diff --git a/frontend/src/js/elements/monkey-power.js b/frontend/src/js/elements/monkey-power.js index 0ea9b25b8..d52a08481 100644 --- a/frontend/src/js/elements/monkey-power.js +++ b/frontend/src/js/elements/monkey-power.js @@ -1,6 +1,5 @@ import * as ThemeColors from "./theme-colors"; import * as SlowTimer from "../states/slow-timer"; -import * as UI from "../ui"; import Config from "../config"; /** @@ -154,7 +153,7 @@ export function reset(immediate = false) { $("html").css("overflow", "inherit"); $("html").css("overflow-y", "scroll"); }, - immediate || UI.pageTransition ? 0 : 1000 + immediate ? 0 : 1000 ); }