From 58e9d00aa2869b03662d549a9054f93f14e1038e Mon Sep 17 00:00:00 2001 From: aceman Date: Wed, 14 Jan 2015 14:38:00 +0200 Subject: [PATCH] Bug 1117060 - remove some deprecated let expressions in /im. r=florian, a=mkmelin --- im/content/preferences/applications.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/im/content/preferences/applications.js b/im/content/preferences/applications.js index 2bd5217441..5345e929a3 100644 --- a/im/content/preferences/applications.js +++ b/im/content/preferences/applications.js @@ -1042,10 +1042,9 @@ var gApplicationsPane = { return this._getIconURLForSystemDefault(aHandlerInfo); case Ci.nsIHandlerInfo.useHelperApp: - let (preferredApp = aHandlerInfo.preferredApplicationHandler) { - if (this.isValidHandlerApp(preferredApp)) - return this._getIconURLForHandlerApp(preferredApp); - } + let preferredApp = aHandlerInfo.preferredApplicationHandler; + if (this.isValidHandlerApp(preferredApp)) + return this._getIconURLForHandlerApp(preferredApp); break; // This should never happen, but if preferredAction is set to some weird