Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Still allow touch events if touch is not supported
- Loading branch information
Showing
with
1 addition
and
0 deletions.
-
+1
−0
framer/Utils.coffee
|
@@ -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) -> |
|
|