diff --git a/core/js/update.js b/core/js/update.js
index 1613c3cc93bf1..2132dc9c57841 100644
--- a/core/js/update.js
+++ b/core/js/update.js
@@ -92,7 +92,7 @@
if (hasWarnings) {
$el.find('.update-show-detailed').before(
- $('').on('click', function() {
+ $('').on('click', function() {
window.location.reload();
})
);