From 81bb75cd5efe038f45f7d2cf47eb05922e920d30 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 5 Jun 2015 09:36:24 -0400 Subject: [PATCH] this will still work if ever we use longer branches --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 4ceb2c3ca..f062a50fd 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -202,7 +202,7 @@ vAPI.browserSettings = { if ( this.originalValues.hasOwnProperty(key) === false ) { continue; } - pos = key.indexOf('.'); + pos = key.lastIndexOf('.'); this.clear(key.slice(0, pos), key.slice(pos + 1)); } }