This was a custom detection that was entirely flawed and hard-coded to always return `false` since 5.5.
jQuery.browser = $.extend(jQuery.browser, browser);
jQuery.browser.touch = (!!('ontouchstart' in window) || (!!('msMaxTouchPoints' in window.navigator) && window.navigator.msMaxTouchPoints > 0));
- // detect smartphones
- // @deprecated 5.5 The previous check always yielded false, the property is kept for compatibility only.
- jQuery.browser.smartphone = false;
-
// properly detect IE11
if (jQuery.browser.mozilla && ua.match(/trident/)) {
jQuery.browser.mozilla = false;