diff --git a/package-lock.json b/package-lock.json index 17b3260..94b8a3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "last-session", - "version": "1.1.3", + "version": "1.1.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 30c83e2..9f9a3b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "last-session", - "version": "1.1.3", + "version": "1.1.4", "private": true, "scripts": { "lint": "eslint --fix --ignore-pattern \"src/assets/iconfont/**\" \"src/**/*.js\"", diff --git a/src/popup/popup.js b/src/popup/popup.js index a26469c..2072b5d 100644 --- a/src/popup/popup.js +++ b/src/popup/popup.js @@ -138,7 +138,7 @@ document.addEventListener('DOMContentLoaded', () => { chrome.runtime.sendMessage({ command: 'setRemoved', data: { url, removed: true } }); }); const titleText = document.createTextNode(item.title); - title.title = titleText; + title.title = item.title; title.appendChild(titleText); // 创建列表项 const li = document.createElement('li');