diff --git a/js/main.js b/js/main.js index c6eed95a..586d5f43 100644 --- a/js/main.js +++ b/js/main.js @@ -32,7 +32,8 @@ jQuery(document).ready(function($) { $.getJSON('githash.php', {}, function(json, textStatus) { if (json) { if (json.gitHash != gitHash) { - location.reload(); + window.location.reload(); + window.location.href=window.location.href; } } });