Firefox leaves list.value as-is when set to an invalid option.
Chromium sets it to the empty string.
This commit is contained in:
parent
8230156c51
commit
545d93a5fd
@ -425,7 +425,7 @@ QR =
|
||||
$.rmAll list
|
||||
$.add list, options
|
||||
list.value = val
|
||||
return if list.value
|
||||
return if list.value is val
|
||||
# Fix the value if the option disappeared.
|
||||
list.value = if g.VIEW is 'thread'
|
||||
g.THREADID
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user