From 7373fb77f52423edd598369ef55fab282d948949 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 16 Aug 2015 08:58:41 -0400 Subject: [PATCH] code review --- platform/firefox/vapi-background.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 19dfbb8dd..f78f6935c 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -142,16 +142,8 @@ vAPI.browserSettings = { return; } - // Current value is same as original - if ( this.getValue(path, setting) === value ) { - return; - } - // Reset to original value - try { - this.setValue(path, setting, value); - } catch (ex) { - } + this.setValue(path, setting, value); }, getValue: function(path, setting) {