From 409532397de9e7540a155ac0a16aa06f936fc25f Mon Sep 17 00:00:00 2001 From: Gavin Sharp Date: Sat, 8 Feb 2014 12:35:04 -0800 Subject: [PATCH] Bug 959061 followup: remove else after return --- browser/base/content/browser.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index ed5691b92ec..0e4c8d0d365 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -5281,9 +5281,12 @@ function FoldCharset(charset) { // for the purpose of the check mark. if (charset == "ISO-8859-8-I") { return "windows-1255"; - } else if (charset == "gb18030") { + } + + if (charset == "gb18030") { return "gbk"; } + return charset; }