From 126c5cb41989ad0f3fb6c816c92e100e18a12a5f Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Fri, 9 Jun 2023 10:18:54 +0100 Subject: [PATCH] fixes #24 --- manifest.json | 2 +- package.json | 2 +- src/popup.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 94a2a99..276d995 100644 --- a/manifest.json +++ b/manifest.json @@ -44,6 +44,6 @@ "https://*/*" ], "update_url": "http://clients2.google.com/service/update2/crx", - "version": "1.5.4" + "version": "1.5.5" } diff --git a/package.json b/package.json index 983b545..c2e6297 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "search_and_replace", - "version": "1.5.4", + "version": "1.5.5", "resolutions": { "author": "Chris Taylor " }, diff --git a/src/popup.ts b/src/popup.ts index 871d3c9..55ac097 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -45,9 +45,9 @@ document.addEventListener('DOMContentLoaded', function () { let recentSearch: SearchReplaceInstance = msg.instance if (history.length > 0) { recentSearch = history[0] || [] - restoreSearchReplaceInstance(recentSearch) createHistoryListItemElements(history) } + restoreSearchReplaceInstance(recentSearch) }) ;(document.querySelector('#historyHeader')).addEventListener('click', historyHeaderClickHandler)