mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
refresh fix
This commit is contained in:
parent
dd06336a0d
commit
beb10ce326
@ -32,7 +32,8 @@ 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) {
|
||||||
location.reload();
|
window.location.reload();
|
||||||
|
window.location.href=window.location.href;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user