Skip to content
Snippets Groups Projects
Commit fa643e1f authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

fixed number parsing bug

parent afc932ef
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ CamMenuView = Backbone.View.extend({ ...@@ -76,7 +76,7 @@ CamMenuView = Backbone.View.extend({
_updateNumber: function(e, property){ _updateNumber: function(e, property){
e.preventDefault(); e.preventDefault();
var newVal = this._getNumber(e); var newVal = this._getNumber(e);
if (!newVal) return; if (newVal == null) return;
var object = this.assembler.get(property); var object = this.assembler.get(property);
if ($(e.target).data("type")) { if ($(e.target).data("type")) {
object[$(e.target).data("type")] = newVal; object[$(e.target).data("type")] = newVal;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment