Fixed a bunch of 'best of' errors and cleaned up JS.

This commit is contained in:
Robin Ward
2013-03-21 16:04:06 -04:00
parent b6f49e5b68
commit 5c4b794a8c
13 changed files with 128 additions and 153 deletions
@@ -64,7 +64,7 @@ Discourse.SiteCustomization = Discourse.Model.extend({
});
},
"delete": function() {
destroy: function() {
if (!this.id) return;
return $.ajax({