From 05bda506558d8ac838fde676b85de98459c511e8 Mon Sep 17 00:00:00 2001 From: Bui Date: Thu, 3 Mar 2022 05:45:02 +0000 Subject: [PATCH] fix back button --- public/src/js/songselect.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/src/js/songselect.js b/public/src/js/songselect.js index 261a860..c2ec8d0 100644 --- a/public/src/js/songselect.js +++ b/public/src/js/songselect.js @@ -3371,7 +3371,9 @@ class SongSelect{ pageEvents.remove(this.touchFullBtn, "click") delete this.touchFullBtn } - loader.screen.removeChild(this.searchStyle) + if(this.searchStyle){ + loader.screen.removeChild(this.searchStyle) + } delete this.selectable delete this.ctx delete this.canvas