diff --git a/src/main/webapp/scripts/index.js b/src/main/webapp/scripts/index.js index a67a4c1e4..9e134eec5 100644 --- a/src/main/webapp/scripts/index.js +++ b/src/main/webapp/scripts/index.js @@ -200,9 +200,8 @@ function onLoad() { $("#more-options").show(); }); - $("#gridworks-version").text( - "Version " + GridworksVersion.version + "-" + GridworksVersion.revision - ); + var version = (GridworksVersion.version != "$VERSION") ? "Version " + GridworksVersion.version + "-" + GridworksVersion.revision : ""; + $("#gridworks-version").text(version); var script = $('') .attr("src", "http://freebase-gridworks.googlecode.com/svn/support/releases.js")