From 816039a3023f6d38ecb6aad7062b5ce88eb035a4 Mon Sep 17 00:00:00 2001 From: Victor Azevedo <34415964+victrme@users.noreply.github.com> Date: Tue, 21 Jun 2022 09:42:28 +0200 Subject: [PATCH] Fixed searchbar settings in imports filter --- src/scripts/script.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/scripts/script.js b/src/scripts/script.js index 18b4849e..dc633d0f 100644 --- a/src/scripts/script.js +++ b/src/scripts/script.js @@ -2817,9 +2817,7 @@ function filterImports(data) { updatedSb.engine = data.searchbar_engine ? data.searchbar_engine.replace('s_', '') : 'google' } - // Add new searchbar settings >1.10.0 - if (updatedSb.opacity === undefined) updatedSb.opacity = 0.1 - if (updatedSb.request === undefined) updatedSb.request = '' + updatedSb = { ...updatedSb, ...sb } return updatedSb },