Fixed #2076 where .val() could return an array instead of undefined when the jquery object was empty. The bug was created during the .val() refactoring for the javascript strict FF ticket.
This commit is contained in:
parent
fc51e14b81
commit
7ef40fd199
2 changed files with 3 additions and 1 deletions
|
@ -419,6 +419,7 @@ jQuery.fn = jQuery.prototype = {
|
|||
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return this.each(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue