We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68fe520 commit 6a0e88aCopy full SHA for 6a0e88a
2 files changed
bower.json
@@ -1,6 +1,6 @@
1
{
2
"name": "adapt-fastclick",
3
- "version": "1.0.0",
+ "version": "1.0.2",
4
"framework": "^2.0.0",
5
"displayName": "FastClick",
6
"extension": "adapt-fastclick",
js/adapt-fastclick.js
@@ -1,6 +1,10 @@
define(function() {
require(["libraries/fastclick.min.js"], function(FastClick) {
$(function() {
+ var _needsClick = FastClick.prototype.needsClick;
+ FastClick.prototype.needsClick = function(target) {
+ return _needsClick(target) || /select2/.test(target.className);
7
+ };
8
FastClick.attach(document.body);
9
});
10
0 commit comments