diff options
author | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-02-08 12:24:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-08 12:24:16 +0100 |
commit | 2ecc0ab663a9a69ae1c836dea1e38aeba003350b (patch) | |
tree | 6f18ca2d889e9309e3e190456d2bea6d0c09e133 /web | |
parent | f4464b4709def76cb2dd8fcb08cb04d1c4ce15e9 (diff) |
Fix replacement of whitespace for versions retrieved from github (#5355)
Diffstat (limited to 'web')
-rw-r--r-- | web/gui/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/gui/main.js b/web/gui/main.js index b6478f6cf2..a370a330e9 100644 --- a/web/gui/main.js +++ b/web/gui/main.js @@ -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); }) |