mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 06:05:48 +02:00
Don't showtext for input type=submit
This commit is contained in:
1 parent
7fc5d0b175
commit
77b11adbdb
1 file changed
+1
-1
@@ -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