Skip to content

Commit

Permalink
Fix replacement of whitespace for versions retrieved from github (net…
Browse files Browse the repository at this point in the history
  • Loading branch information
cakrit authored and kiku-jw committed Mar 4, 2019
1 parent 8f8ccfe commit 691d83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/gui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2847,7 +2847,7 @@ function getGithubLatestVersion(callback) {
cache: false
})
.done(function (data) {
data = atob(data.content.replace(/(\r\n|\n|\r| |\t)/gm, ""));
data = atob(data.content).replace(/(\r\n|\n|\r| |\t)/gm, "");
versionLog('Latest version from github is ' + data);
callback(data);
})
Expand Down

0 comments on commit 691d83f

Please sign in to comment.