Lines Matching refs:mask
1320 mask;
1330 // create the dropdown mask if doesn't already exist
1331 mask = $("#select2-drop-mask");
1332 if (mask.length == 0) {
1333 mask = $(document.createElement("div"));
1334 mask.attr("id","select2-drop-mask").attr("class","select2-drop-mask");
1335 mask.hide();
1336 mask.appendTo(this.body());
1337 mask.on("mousedown touchstart click", function (e) {
1339 reinsertElement(mask);
1354 // ensure the mask is always right before the dropdown
1355 if (this.dropdown.prev()[0] !== mask[0]) {
1356 this.dropdown.before(mask);
1364 mask.show();
1398 $("#select2-drop-mask").hide();