mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Simplify IE check now that we don't care about IE6.
This commit is contained in:
parent
a8de99c791
commit
c677275821
6
ui/jquery.ui.core.js
vendored
6
ui/jquery.ui.core.js
vendored
@ -235,11 +235,7 @@ $.support.selectstart = "onselectstart" in document.createElement( "div" );
|
|||||||
|
|
||||||
|
|
||||||
// deprecated
|
// deprecated
|
||||||
|
$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
|
||||||
(function() {
|
|
||||||
var uaMatch = /msie ([\w.]+)/.exec( navigator.userAgent.toLowerCase() ) || [];
|
|
||||||
$.ui.ie = uaMatch.length ? true : false;
|
|
||||||
})();
|
|
||||||
|
|
||||||
$.fn.extend({
|
$.fn.extend({
|
||||||
disableSelection: function() {
|
disableSelection: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user