mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
cleanup
This commit is contained in:
parent
657eb061cd
commit
18e4c5f0e5
@ -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');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user