Merge pull request #110 from SteveClement/safari_option_fix
chg: [html] replaced option with data tag
This commit is contained in:
commit
74b1b3cb2e
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ function createHTML(addr, i) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Needs option to use value in js
|
// Needs option to use value in js
|
||||||
let name = `<option id="name${addr.ID}" value="${addr.Name}">${addr.Name}</option>`;
|
let name = `<data id="name${addr.ID}" value="${addr.Name}">${addr.Name}</data>`;
|
||||||
if (edit == 1) {
|
if (edit == 1) {
|
||||||
name = `<input id="name${addr.ID}" onchange="editForm(${addr.ID},'')" type="text" class="form-control" value="${addr.Name}">`;
|
name = `<input id="name${addr.ID}" onchange="editForm(${addr.ID},'')" type="text" class="form-control" value="${addr.Name}">`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue