mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Enable News
This commit is contained in:
@@ -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);
|
||||
};
|
||||
})();
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user