Chrome(iPad版)上的点击事件

Chrome(iPad版)上的点击事件,ipad,google-chrome,meteor,Ipad,Google Chrome,Meteor,我在我的项目中使用Meteor,我有以下点击事件: Template.Products.events = { "click .Product" : function() { if(this.InStock) { var item = Cart.findOne({Name : this.Name, Price : this.Price}); if(item) { Cart.update(item._id, {

我在我的项目中使用Meteor,我有以下点击事件:

  Template.Products.events = {
   "click .Product" : function() {
      if(this.InStock) {
         var item = Cart.findOne({Name : this.Name, Price : this.Price});
         if(item) {
               Cart.update(item._id, { $inc : {Quantity : 1} });
         } else {
               Cart.insert({ Name : this.Name, Price : this.Price, Quantity : 1 });
         }
      } else {
         alert("That item is not in stock");
      }
   }
  };

但是,它在Chrome(iPad版本)上不起作用。

您应该使用
touchstart
事件,而不是
单击事件