Widget:UPDEvents: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 122: | Line 122: | ||
list.style.display = 'block'; | list.style.display = 'block'; | ||
}) | }) | ||
.catch(function (error) { | |||
.catch(function (error) { | |||
console.error('UPEvents widget error:', error); | |||
loading.textContent = | |||
'Fetch error: ' + error.message + | |||
'. Check the browser Console for details.'; | |||
}); | |||
); | |||
})(); | })(); | ||
</script> | </script> | ||
</includeonly> | </includeonly> | ||