change buttons to type button
This commit is contained in:
parent
88cbcf5b4b
commit
ce9a508a12
5 changed files with 11 additions and 11 deletions
|
|
@ -190,7 +190,7 @@ function GenerateInnerHTML(db) {
|
|||
|
||||
textFill = "";
|
||||
|
||||
/* ############################# Tab Switch buttons ############################# */
|
||||
/* ############################# Tab Switch buttons and <div>s ############################# */
|
||||
|
||||
switch (section) {
|
||||
|
||||
|
|
@ -198,11 +198,11 @@ function GenerateInnerHTML(db) {
|
|||
|
||||
textFill += [
|
||||
`<div class="tab-switch-buttons">`,
|
||||
`<button id="button-switch-main" class="button">Main</button>`,
|
||||
`<button id="button-switch-essential" class="button">Essential</button>`,
|
||||
`<button id="button-switch-journal" class="button">Journal</button>`,
|
||||
`<button id="button-switch-statistics" class="button">Stats</button>`,
|
||||
`<button id="button-switch-godhome" class="button">Godhome</button>`,
|
||||
`<button id="button-switch-main" name="main" class="button" type="button">Main</button>`,
|
||||
`<button id="button-switch-essential" name="essential" class="button" type="button">Essential</button>`,
|
||||
`<button id="button-switch-journal" name="journal" class="button" type="button">Journal</button>`,
|
||||
`<button id="button-switch-statistics" name="statistics" class="button" type="button">Stats</button>`,
|
||||
`<button id="button-switch-godhome" name="godhome" class="button" type="button">Godhome</button>`,
|
||||
`</div>`,
|
||||
].join("\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue