Fix cancelling deletion of snipt.

master
Nick Sergeant 2012-05-03 20:45:21 -04:00
parent 4b77407a35
commit 0eb3f7fc7d
1 changed files with 1 additions and 1 deletions

View File

@ -126,8 +126,8 @@
$('button.delete', window.site.$main_edit).on('click', function() {
if (confirm('Are you sure you want to delete this snipt?')) {
that.model.destroy();
window.site.snipt_list.escapeUI(true);
}
window.site.snipt_list.escapeUI(true);
return false;
});
$('button.cancel', window.site.$main_edit).on('click', function() {