Skip to content

Commit

Permalink
Released 0.6.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed Jul 5, 2013
1 parent 976f99a commit 71ea418
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "selectize",
"keywords": ["select", "ui", "form", "input", "control", "autocomplete", "tagging", "tag"],
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
"version": "0.6.2",
"version": "0.6.3",
"license": "Apache License, Version 2.0",
"readmeFilename": "README.md",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion selectize.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! selectize.css - v0.6.2 | https://github.com/brianreavis/selectize.js | Apache License (v2) */
/*! selectize.css - v0.6.3 | https://github.com/brianreavis/selectize.js | Apache License (v2) */

/* --- file: "src/selectize.css" --- */

Expand Down
2 changes: 1 addition & 1 deletion selectize.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selectize",
"version": "0.6.2",
"version": "0.6.3",
"title": "Selectize.js",
"author": {
"name": "Brian Reavis",
Expand Down
10 changes: 9 additions & 1 deletion selectize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! selectize.js - v0.6.2 | https://github.com/brianreavis/selectize.js | Apache License (v2) */
/*! selectize.js - v0.6.3 | https://github.com/brianreavis/selectize.js | Apache License (v2) */

(function(factory) {
if (typeof exports === 'object') {
Expand Down Expand Up @@ -621,6 +621,14 @@
}
});

// necessary for mobile webkit devices (manual focus triggering
// is ignored unless invoked within a click event)
$control.on('click', function(e) {
if (!self.isInputFocused) {
self.focus(true);
}
});

$dropdown.on('mouseenter', '[data-selectable]', function() { return self.onOptionHover.apply(self, arguments); });
$dropdown.on('mousedown', '[data-selectable]', function() { return self.onOptionSelect.apply(self, arguments); });
watchChildEvent($control, 'mousedown', '*:not(input)', function() { return self.onItemSelect.apply(self, arguments); });
Expand Down
Loading

0 comments on commit 71ea418

Please sign in to comment.