From 545d93a5fdbb20964fafa0a7dc8e333202123e33 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 14 Dec 2014 21:37:29 -0800 Subject: [PATCH] Firefox leaves list.value as-is when set to an invalid option. Chromium sets it to the empty string. --- src/Posting/QR.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 6ca70e9ce..cb0b105b0 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -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