Skip to content

Commit

Permalink
oops - stupid error
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Feb 27, 2020
1 parent b46f393 commit 2d36533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@

function getVersion(callback) {
var xmlhttp = new XMLHttpRequest();
var path = (window.location.pathname.indexOf("relay"))?"../":"";
var path = (window.location.pathname.indexOf("relay")>=0)?"../":"";
xmlhttp.open('GET', path+'manifest.json');
xmlhttp.onload = function (e) {
var manifest = JSON.parse(xmlhttp.responseText);
Expand Down

0 comments on commit 2d36533

Please sign in to comment.