diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-11-16 21:39:00 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-11-16 22:04:20 +0100 |
commit | afe40dd4d3d0c21e9c447eedb0a0382e8d1af5c6 (patch) | |
tree | 91820664232b11e718853ed9bbfe7b3899764ce6 /src/css.js | |
parent | 1ad9915d11e27ebce8016ef81163206fb68b2335 (diff) | |
download | jquery-afe40dd4d3d0c21e9c447eedb0a0382e8d1af5c6.tar.gz jquery-afe40dd4d3d0c21e9c447eedb0a0382e8d1af5c6.zip |
Revert "Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 support"
This reverts commit ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5.
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/css.js b/src/css.js index 0aa9d0e9c..d9104ad3f 100644 --- a/src/css.js +++ b/src/css.js @@ -428,6 +428,16 @@ jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, } ); +// Support: Android 2.3 +jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight, + function( elem, computed ) { + if ( computed ) { + return swap( elem, { "display": "inline-block" }, + curCSS, [ elem, "marginRight" ] ); + } + } +); + // These hooks are used by animate to expand properties jQuery.each( { margin: "", |