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

Browser detection causing button to be offset by -23 pixels #12

Closed
ttwd80 opened this issue Sep 4, 2014 · 2 comments
Closed

Browser detection causing button to be offset by -23 pixels #12

ttwd80 opened this issue Sep 4, 2014 · 2 comments
Labels

Comments

@ttwd80
Copy link

ttwd80 commented Sep 4, 2014

isIE is declared as isIE=!$.support.cssFloat.
on my browser.
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
$.support.cssFloat is undefined
and
!$.support.cssFloat returns true
when the button is created using .colorpicker(), I get this
div style="background-color:#ffc000" class="evo-pointer evo-colorind-ie"
on Firefox

i expect to get this
div style="background-color:#ffc000" class="evo-pointer evo-colorind-ff"
or
div style="background-color:#ffc000" class="evo-pointer evo-colorind"

@ttwd80
Copy link
Author

ttwd80 commented Sep 4, 2014

i have isolated the problem. it is a jquery 2 vs jquery 1 issue.
i downgraded to jquery 1.x and -ff is appended to the class, and not -ie

@evoluteur
Copy link
Owner

Thank you for letting me know and finding the root cause of the problem.
I just checked in a fix.

@evoluteur evoluteur added the bug label Sep 7, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants