Core: Simplify IE check now that we don't care about IE6.

This commit is contained in:
Scott González 2012-11-05 11:28:04 -05:00
parent a8de99c791
commit c677275821

View File

@ -235,11 +235,7 @@ $.support.selectstart = "onselectstart" in document.createElement( "div" );
// deprecated
(function() {
var uaMatch = /msie ([\w.]+)/.exec( navigator.userAgent.toLowerCase() ) || [];
$.ui.ie = uaMatch.length ? true : false;
})();
$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
$.fn.extend({
disableSelection: function() {