From e1cdd7cb442d0a6ad040d217cebbfffd497a1d87 Mon Sep 17 00:00:00 2001 From: Ray Lothian Date: Sat, 11 May 2019 11:09:41 +0200 Subject: [PATCH] #35 --- extension/common.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/extension/common.js b/extension/common.js index c0e0ad3..09f6171 100644 --- a/extension/common.js +++ b/extension/common.js @@ -231,7 +231,12 @@ function match({url, tabId}) { prefs.custom[key] = s; } else if (prefs.custom._.indexOf('*') !== -1) { - prefs.custom['*'] = s; + if (prefs.custom[key]) { + prefs.custom[key] = s; + } + else { + prefs.custom['*'] = s; + } } } }