diff --git a/front-ui/Gruntfile.js b/front-ui/Gruntfile.js index d81ca2e..32fbb51 100644 --- a/front-ui/Gruntfile.js +++ b/front-ui/Gruntfile.js @@ -23,16 +23,16 @@ module.exports = function(grunt) { server: { options: { port: 3001, - base: 'build', - middleware: function(connect, options) { - return [ - function(req, res) { - var filename = 'build/' + req.url; - if ((filename === 'build//') || !grunt.file.exists(filename)) filename = 'build/index.html'; - res.end(grunt.file.read(filename)); - } - ]; - }, + base: 'build'//, + // middleware: function(connect, options) { + // return [ + // function(req, res) { + // var filename = 'build/' + req.url; + // if ((filename === 'build//') || !grunt.file.exists(filename)) filename = 'build/index.html'; + // res.end(grunt.file.read(filename)); + // } + // ]; + // }, } } }, diff --git a/front-ui/app/components/shared/menuItemListComponent.js b/front-ui/app/components/shared/menuItemListComponent.js index 9574cd4..d5a5ffe 100644 --- a/front-ui/app/components/shared/menuItemListComponent.js +++ b/front-ui/app/components/shared/menuItemListComponent.js @@ -46,7 +46,6 @@ var MenuItemListComponent = React.createClass({ _onCartClick: function(e) { NavigationActions.goToCart(); e.preventDefault(); - e.cancelImmediatePropagation(); }, render: function() {