mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #14432: Always return string from .css("z-index"). Close gh-1395.
This commit is contained in:
committed by
Richard Gibson
parent
b24a3d5368
commit
5ce4b06c28
@@ -44,7 +44,9 @@ function curCSS( elem, name, computed ) {
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
// Support: IE
|
||||
// IE returns zIndex value as an integer.
|
||||
return ret === undefined ? ret : ret + "";
|
||||
}
|
||||
|
||||
return curCSS;
|
||||
|
||||
Reference in New Issue
Block a user