mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-26 14:53:59 +00:00
moved $.support if statement back to mobile.js so it'll work for now.
This commit is contained in:
parent
eb2805f9d9
commit
34b3dcaabc
2 changed files with 6 additions and 4 deletions
|
|
@ -7,6 +7,11 @@
|
||||||
* http://jquery.org/license
|
* http://jquery.org/license
|
||||||
*/
|
*/
|
||||||
(function( $, window, undefined ) {
|
(function( $, window, undefined ) {
|
||||||
|
// if we're missing support for any of these, then we're a C-grade browser
|
||||||
|
if ( !$.support.display || !$.support.position || !$.support.overflow || !$.support.floatclear ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var $window = $(window),
|
var $window = $(window),
|
||||||
$html = $('html'),
|
$html = $('html'),
|
||||||
$head = $('head'),
|
$head = $('head'),
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,4 @@ $.extend( $.support, {
|
||||||
fakeBody.remove();
|
fakeBody.remove();
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// if we're missing support for any of these, then we're a C-grade browser
|
|
||||||
if ( !$.support.display || !$.support.position || !$.support.overflow || !$.support.floatclear ) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue