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
|
$.rmAll list
|
||||||
$.add list, options
|
$.add list, options
|
||||||
list.value = val
|
list.value = val
|
||||||
return if list.value
|
return if list.value is val
|
||||||
# Fix the value if the option disappeared.
|
# Fix the value if the option disappeared.
|
||||||
list.value = if g.VIEW is 'thread'
|
list.value = if g.VIEW is 'thread'
|
||||||
g.THREADID
|
g.THREADID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user