Skip to content

Commit

Permalink
updated map db function
Browse files Browse the repository at this point in the history
  • Loading branch information
sherifsarhan committed Oct 20, 2016
1 parent d95953b commit defd027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/JS/map-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var FoodListApp = React.createClass({
// itemsHash[count] = this.state.text;
var nextText = '';
this.setState({items: nextItems, text: nextText});
// addUpdateMarker(this.state.text, this.state.tag);
addUpdateMarker(this.state.text, this.state.tag);
},
handleAddHelper: function(){
// commented out for now because firebase posting shouldn't be allowed without login
Expand All @@ -51,7 +51,7 @@ var FoodListApp = React.createClass({
delete this.state.items[deleteItem];
},
submission: function(e) {
// this.handleAdd(e);
this.handleAdd(e);
e.preventDefault();
},
render: function() {
Expand Down

0 comments on commit defd027

Please sign in to comment.