Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

fixed blur so click gets fired #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sjoudry
Copy link

@sjoudry sjoudry commented May 13, 2014

To address #47

@sjoudry
Copy link
Author

sjoudry commented May 13, 2014

This will not affect touch devices

@@ -5,7 +5,7 @@
$ = window.jQuery || window.Zepto || window.$;

$.fn.fancySelect = function(opts) {
var isiOS, settings;
var isiOS, settings, clicking = true;

Choose a reason for hiding this comment

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

You are initializing the "clicking" variable to true instead of false. This prevents the select from closing when you open it and don't select any option.

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

Successfully merging this pull request may close these issues.

2 participants