Permalink
Browse files

Still allow touch events if touch is not supported

  • Loading branch information...
koenbok committed Jan 19, 2016
1 parent ba7cf3c commit 82ccc3e1583183c106f711fd449a8d83b7272c1e
Showing with 1 addition and 0 deletions.
  1. +1 −0 framer/Utils.coffee
View
@@ -433,6 +433,7 @@ Utils.domCompleteCancel = (f) ->
Utils.domValidEvent = (element, eventName) ->
return if not eventName
return true if eventName in ["touchstart", "touchmove", "touchend"]
return typeof(element["on#{eventName.toLowerCase()}"]) isnt "undefined"
Utils.domLoadScript = (url, callback) ->

0 comments on commit 82ccc3e

Please sign in to comment.