change buttons to type button

This commit is contained in:
ReznoRMichael 2021-07-27 22:53:02 +02:00
commit ce9a508a12
5 changed files with 11 additions and 11 deletions

View file

@ -6346,11 +6346,11 @@ function GenerateInnerHTML(db) {
for (var section in sections) {
textFill = "";
/* ############################# Tab Switch buttons ############################# */
/* ############################# Tab Switch buttons and <div>s ############################# */
switch (section) {
case "bosses":
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>", "</div>"].join("\n");
textFill += ["<div class=\"tab-switch-buttons\">", "<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");
textFill += "<div id=\"tab-main\">";
break;

File diff suppressed because one or more lines are too long

View file

@ -219,7 +219,7 @@
<!-- <button id="save-area-file" class="button" onclick="">Load Save</button> -->
<!-- <input id="save-area-file" class="" type="file" name="file" accept=".dat,.bak*" onchange="LoadSaveFile(this)"> -->
<!-- <button id="save-area-read" class="button" onclick="HKReadTextArea('save-area');">Analyze Text</button> -->
<button id="save-area-read" class="button">Analyze Text</button>
<button id="save-area-read" class="button" type="button">Analyze Text</button>
</div>
<div class="checkboxes">