diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/ui.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/static/ui.js b/static/ui.js index 6dcb6ab..82288d1 100644 --- a/static/ui.js +++ b/static/ui.js @@ -488,8 +488,10 @@ var FeedView = Backbone.View.extend({ }, edit: function() { var cat = window.prompt("Category for this feed?", this.model.get("category")); - this.model.set("category", cat); - this.model.save(); + if (cat != null) { + this.model.set("category", cat); + this.model.save(); + } }, }); |