diff --git a/src/auto-update/index.jade b/src/auto-update/index.jade index 99e5bae6280..ebdaf578001 100644 --- a/src/auto-update/index.jade +++ b/src/auto-update/index.jade @@ -1,6 +1,6 @@ #auto-update .btn-group.pull-right - a.btn.btn-primary(data-hook='cancel') Not now - a.btn.btn-primary(data-hook='confirm') Yes please - + a.btn.btn-primary(data-hook='cancel', href='#') Not now + a.btn.btn-primary(data-hook='confirm', href='#') Yes please + p A newer version of Compass is now available! Would you like to install it and restart Compass? diff --git a/src/auto-update/index.js b/src/auto-update/index.js index 337b561d8f9..0ce489120ea 100644 --- a/src/auto-update/index.js +++ b/src/auto-update/index.js @@ -58,7 +58,8 @@ var NotificationUpdateAvailable = View.extend({ } }); }, - cancel: function() { + cancel: function(evt) { + evt.preventDefault(); this.visible = false; return false; },