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