mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Enable News
This commit is contained in:
parent
92059801e2
commit
20090b5acd
@ -211,7 +211,7 @@ jQuery(document).ready(function($) {
|
|||||||
}, 60000);
|
}, 60000);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
function showNews() {
|
(function showNews() {
|
||||||
var newsItem = news[newsIndex];
|
var newsItem = news[newsIndex];
|
||||||
$('.news').updateWithText(newsItem,2000);
|
$('.news').updateWithText(newsItem,2000);
|
||||||
|
|
||||||
@ -220,6 +220,6 @@ jQuery(document).ready(function($) {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
showNews();
|
showNews();
|
||||||
}, 5500);
|
}, 5500);
|
||||||
};
|
})();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user