aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings/firstLoadPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/globalSettings/firstLoadPage.js')
-rw-r--r--features/globalSettings/firstLoadPage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/globalSettings/firstLoadPage.js b/features/globalSettings/firstLoadPage.js
index 429c867..d38f927 100644
--- a/features/globalSettings/firstLoadPage.js
+++ b/features/globalSettings/firstLoadPage.js
@@ -17,6 +17,7 @@ class FirstLoadPage extends SoopyGuiElement {
backButton.addEvent(new SoopyMouseClickEvent().setHandler(()=>{
this.guiPage.prevPage()
+ this.guiPage.closeSidebarPage()
}))
this.addChild(backButton)
@@ -26,6 +27,7 @@ class FirstLoadPage extends SoopyGuiElement {
nextButton.addEvent(new SoopyMouseClickEvent().setHandler(()=>{
this.guiPage.nextPage()
+ this.guiPage.closeSidebarPage()
}))
this.addChild(nextButton)