Skip to content

Commit

Permalink
Merge pull request #25 from forgetso/24-search-instance-not-being-pop…
Browse files Browse the repository at this point in the history
…ulated-when-there-is-zero-history

fixes #24
  • Loading branch information
forgetso authored Jun 9, 2023
2 parents e4b016d + 126c5cb commit 178cbbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"https://*/*"
],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "1.5.4"
"version": "1.5.5"

}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "search_and_replace",
"version": "1.5.4",
"version": "1.5.5",
"resolutions": {
"author": "Chris Taylor <[email protected]>"
},
Expand Down
2 changes: 1 addition & 1 deletion src/popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
;(<HTMLButtonElement>document.querySelector('#historyHeader')).addEventListener('click', historyHeaderClickHandler)

Expand Down

0 comments on commit 178cbbb

Please sign in to comment.