Use the following code:
jQuery(function(){
// remove layerX and layerY
var all = jQuery.event.props,
len = all.length,
res = [];
while (len--) {
var el = all[len];
if (el != 'layerX' && el != 'layerY') res.push(el);
}
jQuery.event.props = res;
}());
No comments:
Post a Comment