mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:37:58 +01:00
Don't showtext for input type=submit
This commit is contained in:
@@ -155,7 +155,7 @@ function Hints() //{{{
|
|||||||
let type = elem.type ? elem.type.toLowerCase() : "";
|
let type = elem.type ? elem.type.toLowerCase() : "";
|
||||||
|
|
||||||
if (tagname == "input" && (type == "submit" || type == "button" || type == "reset"))
|
if (tagname == "input" && (type == "submit" || type == "button" || type == "reset"))
|
||||||
return [elem.value, true]
|
return [elem.value, false]
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for each (let option in options["hintinputs"].split(","))
|
for each (let option in options["hintinputs"].split(","))
|
||||||
|
|||||||
Reference in New Issue
Block a user