Skip to content
Permalink
Browse files

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

  • Loading branch information...
scottgonzalez committed Nov 5, 2012
1 parent a8de99c commit c67727582148d1d4ed657b654eff5da914c7ac97
Showing with 1 addition and 5 deletions.
  1. +1 −5 ui/jquery.ui.core.js
@@ -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() );

This comment has been minimized.

Copy link
@dmethvin

dmethvin Nov 5, 2012

Member

when do you want to lump ie9/10 in with oldIE though?

This comment has been minimized.

Copy link
@scottgonzalez

scottgonzalez Nov 5, 2012

Author Member

There's old crufty code that was doing IE checks without version checks. This is just a stopgap to get us off of $.browser. The code using this flag will be updated during their respective rewrites.

This comment has been minimized.

Copy link
@scottgonzalez

scottgonzalez Nov 5, 2012

Author Member

See a3f1a34 for the uses.


$.fn.extend({
disableSelection: function() {

0 comments on commit c677275

Please sign in to comment.
You can’t perform that action at this time.