1
0
mirror of synced 2024-11-26 14:56:07 +03:00

a tweak to prevent clicks propagating through the mask on IE9. #1058

This commit is contained in:
Igor Vaynberg 2013-06-04 08:33:02 -07:00
parent 8904e42ef9
commit 4e7a8b00fc

View File

@ -1219,7 +1219,7 @@ the specific language governing permissions and limitations under the Apache Lic
mask.attr("id","select2-drop-mask").attr("class","select2-drop-mask"); mask.attr("id","select2-drop-mask").attr("class","select2-drop-mask");
mask.hide(); mask.hide();
mask.appendTo(this.body()); mask.appendTo(this.body());
mask.on("mousedown touchstart", function (e) { mask.on("mousedown touchstart click", function (e) {
var dropdown = $("#select2-drop"), self; var dropdown = $("#select2-drop"), self;
if (dropdown.length > 0) { if (dropdown.length > 0) {
self=dropdown.data("select2"); self=dropdown.data("select2");