This commit is contained in:
Michael Teeuw 2014-02-19 17:03:40 +01:00
parent 657eb061cd
commit 18e4c5f0e5

View File

@ -29,10 +29,7 @@ jQuery(document).ready(function($) {
$.getJSON('githash.php', {}, function(json, textStatus) { $.getJSON('githash.php', {}, function(json, textStatus) {
if (json) { if (json) {
if (json.gitHash != gitHash) { if (json.gitHash != gitHash) {
console.log('refresh');
location.reload(); location.reload();
} else {
console.log('up to date');
} }
} }
}); });