Removing remaining strict-mode warnings.

This commit is contained in:
John Resig 2008-12-19 04:36:28 +00:00
parent 77344f4c50
commit 0935f4a0b1
3 changed files with 7 additions and 6 deletions

View file

@ -131,7 +131,7 @@ jQuery.each( ['Left', 'Top'], function(i, name) {
var method = 'scroll' + name;
jQuery.fn[ method ] = function(val) {
if (!this[0]) return;
if (!this[0]) return null;
return val !== undefined ?