Skip to content

Commit ed9ec71

Browse files
authored
Switch addPage function parameter places
1 parent 7041bf9 commit ed9ec71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usergui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ class UserGui {
333333
}
334334

335335
// The user will use this function to add a page to their GUI, with their own HTML (Bootstrap 5)
336-
addPage(htmlString, tabName) {
336+
addPage(tabName, htmlString) {
337337
if(this.#guiPages[0].name == "default_no_content_set") {
338338
this.#guiPages = [];
339339
}

0 commit comments

Comments
 (0)