mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
cleanup
This commit is contained in:
@@ -29,10 +29,7 @@ jQuery(document).ready(function($) {
|
||||
$.getJSON('githash.php', {}, function(json, textStatus) {
|
||||
if (json) {
|
||||
if (json.gitHash != gitHash) {
|
||||
console.log('refresh');
|
||||
location.reload();
|
||||
} else {
|
||||
console.log('up to date');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user