remove title on text elements (fixes long-press on Fennec)
This commit is contained in:
parent
820805b063
commit
0768e10403
@ -23,8 +23,8 @@ func (this *App) Serve_Homepage(w http.ResponseWriter) {
|
|||||||
case PARAMTYPE_CONST:
|
case PARAMTYPE_CONST:
|
||||||
// not configurable parameter
|
// not configurable parameter
|
||||||
case PARAMTYPE_STRING:
|
case PARAMTYPE_STRING:
|
||||||
fmt.Fprintf(w, `<input type="text" name="param[%d]" placeholder="%s" title="%s" value="%s"><br>`,
|
fmt.Fprintf(w, `<input type="text" name="param[%d]" placeholder="%s" value="%s"><br>`,
|
||||||
i, hesc(param.Description), hesc(param.Description), hesc(param.Value))
|
i, hesc(param.Description), hesc(param.Value))
|
||||||
case PARAMTYPE_OPTIONAL:
|
case PARAMTYPE_OPTIONAL:
|
||||||
fmt.Fprintf(w, `<input type="hidden" name="param[%d]" value="off"><label><input type="checkbox" name="param[%d]" value="on">%s</label><br>`,
|
fmt.Fprintf(w, `<input type="hidden" name="param[%d]" value="off"><label><input type="checkbox" name="param[%d]" value="on">%s</label><br>`,
|
||||||
i, i, hesc(param.Description))
|
i, i, hesc(param.Description))
|
||||||
|
Loading…
Reference in New Issue
Block a user