Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile Safari support #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Mobile Safari support #11

wants to merge 4 commits into from

Conversation

tqc
Copy link

@tqc tqc commented Aug 29, 2013

Adds support for mobile safari by handling touch events and hiding rather than removing the origin element so that touchmove events are not lost.

Since the element is no longer being immediately removed, it may be given a custom style rather than being hidden directly:

.btf-dragon-origin {
display:inline-block !important;
opacity: 0.5;
}

@@ -4,7 +4,7 @@
* License: MIT
*/

'use strict';
//'use strict';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this may have been accidentally commented out.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That probably should go back in - I removed it for testing because strict mode breaks the safari debugger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants