From 09d35b65e05a10a7663e2160c14e7d4af8a5217d Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 29 Jun 2016 13:56:10 -0400 Subject: [PATCH] minor code review re. #1768 --- platform/firefox/vapi-background.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index addd03b99..d907fac22 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -374,6 +374,10 @@ vAPI.storage = (function() { return null; } + // Since database could be opened successfully, reset error flag (its + // purpose is to avoid spamming console with error messages). + dbOpenError = ''; + // Database was opened, register cleanup task cleanupTasks.push(close);