Skip to content

Commit 4e7a8b0

Browse files
committed
a tweak to prevent clicks propagating through the mask on IE9. select2#1058
1 parent 8904e42 commit 4e7a8b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ the specific language governing permissions and limitations under the Apache Lic
12191219
mask.attr("id","select2-drop-mask").attr("class","select2-drop-mask");
12201220
mask.hide();
12211221
mask.appendTo(this.body());
1222-
mask.on("mousedown touchstart", function (e) {
1222+
mask.on("mousedown touchstart click", function (e) {
12231223
var dropdown = $("#select2-drop"), self;
12241224
if (dropdown.length > 0) {
12251225
self=dropdown.data("select2");

0 commit comments

Comments
 (0)