Fixed jQuery bug/enahnced jQuery to not blindly convert anything that's not a string...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 5 Oct 2010 21:51:24 +0000 (21:51 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 5 Oct 2010 21:51:24 +0000 (21:51 +0000)
commita48858382ad212fb32c8c8f6dc1d2cd954a40a43
tree76e5f5443471550de1a36af239a55a66bad7123a
parent19e0c2b6ac8b25994fd6f849743603168423bd4d
Fixed jQuery bug/enahnced jQuery to not blindly convert anything that's not a string to an integer and append 'px', resulting in values like "nullpx" and "NaNpx" which would cause errors in Internet Explorer. Now we are using ( parseInt( size ) || 0 ) + "px" so that if size is null or NaN it will be converted to 0. I've also passed this upstream (dev.jquery.com/ticket/7116)
resources/jquery/jquery.js