Skip to content

Commit

Permalink
submit form workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
svox1 committed Apr 25, 2014
1 parent caf3a9e commit b420aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ember-fastclick.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Ember.fastclick = function(){
if (action) {
handler = action.handler;

if (action.eventName === eventName) {
if (action.eventName === eventName || (action.eventName == "submit" && eventName == "click")) {
if (touch.enabled)
disableTouch();
else
Expand Down

0 comments on commit b420aad

Please sign in to comment.