Skip to content

Commit 5b4903f

Browse files
committed
Release v1.1.1
1 parent 5b7a454 commit 5b4903f

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

background/background.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
190190
sendResponse(`done ${message['paperId']}`)
191191
} else {
192192
handleTabMessage(message, sender, sendResponse)
193+
return true
193194
}
194195
} catch (err) {
195196
submitError({

content_scripts/content.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ function setup() {
110110
chrome.runtime.onMessage.addListener(
111111
(message, sender, sendResponse) => {
112112
try {
113-
window['labml_links'] = message
114113
updateIndicator(message)
115114
LOGGER.log('tab message', message)
116115
sendResponse('got it')

content_scripts/papers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,15 @@ export function addIndicator(
171171
}
172172

173173
export function updateIndicator(papers: { [link: string]: PaperModel }) {
174+
let linksToSave: string[] = []
174175
for (let link of links) {
175176
if (papers[link.link] == null) {
176177
continue
177178
}
179+
linksToSave.push(link.link)
178180

179181
link.paper.loadFrom(papers[link.link])
180182
link.update()
181183
}
184+
window['labml_links'] = linksToSave
182185
}

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"48": "assets/icon48.png",
77
"128": "assets/icon128.png"
88
},
9-
"version": "1.1.0",
9+
"version": "1.1.1",
1010
"description": "\uD83D\uDD0E View information about research papers linked from websites you visit.",
1111
"background": {
1212
"service_worker": "js/background.js"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"build": "webpack --config webpack/webpack.prod.js",
2525
"prepare": "husky install"
2626
},
27-
"version": "1.1.0",
27+
"version": "1.1.1",
2828
"lint-staged": {
2929
"**/*": ""
3030
}

0 commit comments

Comments
 (0)