Skip to content

Commit

Permalink
Revert "删除测试代码"
Browse files Browse the repository at this point in the history
This reverts commit fd5ce65.
  • Loading branch information
xiandanin committed Jan 9, 2019
1 parent f2b9454 commit 6e3d174
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascript/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ window.onload = function () {
if (ajax.readyState == 4 && ajax.status == 200) {
document.getElementById("update_container").removeAttribute("style")
var response = JSON.parse(ajax.responseText)
console.log((current_version == response.version)+"--->"+current_version+"--->"+response.version);
if (current_version < response.version) {
var version = document.getElementById("update_version")
version.setAttribute("href", response.link)
Expand Down

0 comments on commit 6e3d174

Please sign in to comment.