Skip to content

Commit

Permalink
修复导入失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiandanin committed Dec 10, 2018
1 parent b224fc8 commit 554554f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
2 changes: 1 addition & 1 deletion javascript/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ window.onload = function () {
reader.readAsText(this.files[0], "UTF-8");//读取文件
reader.onload = function (evt) { //读取完文件之后会回来这里
var json = evt.target.result; // 读取文件内容
chrome.storage.sync.set(JSON.parse(json));
chrome.storage.local.set(JSON.parse(json));

chrome.notifications.create(null, {
type: 'basic',
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "GithubTags",
"version": "1.0.5",
"version": "1.0.6",
"description": "给Github项目添加标签",
"manifest_version": 2,
"icons": {
Expand Down

0 comments on commit 554554f

Please sign in to comment.