Skip to content

Commit

Permalink
修复nodeRefreshTime为空的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liying2008 committed Dec 23, 2018
1 parent 4326a97 commit 1a66bd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/node_services.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var NodeServices = (function () {
queryNodeStatus();
StorageService.addStorageListener(storageChange);
StorageService.getOptions(function (options) {
refreshNodeStatus(options.nodeRefreshTime)
refreshNodeStatus(options.nodeRefreshTime || 2)
});
}

Expand Down
2 changes: 1 addition & 1 deletion js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var Services = (function () {
jenkinsUrls = result;
StorageService.getOptions(function (options) {
showNotificationOption = options.showNotificationOption;
refreshJobStatus(options.refreshTime)
refreshJobStatus(options.refreshTime || 60)
})
});
// 点击通知
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "__MSG_pluginDesc__",
"author": "LiYing",
"homepage_url": "https://github.com/liying2008/jenkins-helper",
"version": "1.1.0",
"version": "1.1.1",
"minimum_chrome_version": "45",
"default_locale": "en",
"omnibox": {
Expand Down

0 comments on commit 1a66bd1

Please sign in to comment.