remove title on text elements (fixes long-press on Fennec)

This commit is contained in:
mappu 2017-03-27 20:04:53 +13:00
parent 820805b063
commit 0768e10403

View File

@ -23,8 +23,8 @@ func (this *App) Serve_Homepage(w http.ResponseWriter) {
case PARAMTYPE_CONST:
// not configurable parameter
case PARAMTYPE_STRING:
fmt.Fprintf(w, `<input type="text" name="param[%d]" placeholder="%s" title="%s" value="%s"><br>`,
i, hesc(param.Description), hesc(param.Description), hesc(param.Value))
fmt.Fprintf(w, `<input type="text" name="param[%d]" placeholder="%s" value="%s"><br>`,
i, hesc(param.Description), hesc(param.Value))
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>`,
i, i, hesc(param.Description))