Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/auto-update/index.jade
Original file line number Diff line number Diff line change
@@ -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?
3 changes: 2 additions & 1 deletion src/auto-update/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ var NotificationUpdateAvailable = View.extend({
}
});
},
cancel: function() {
cancel: function(evt) {
evt.preventDefault();
this.visible = false;
return false;
},
Expand Down