diff --git a/core/js/update.js b/core/js/update.js index fd3c7a56bd6..0f320c041f1 100644 --- a/core/js/update.js +++ b/core/js/update.js @@ -47,7 +47,7 @@ updateEventSource.listen('error', function(message) { $('').addClass('error').append(message).append('
').appendTo($el); message = t('core', 'Please reload the page.'); - $('').addClass('error').append(message).append('
').appendTo($el); + $('').addClass('error').append(''+message+'
').appendTo($el); updateEventSource.close(); }); updateEventSource.listen('failure', function(message) {