aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2011-01-20 14:51:30 -0500
committerJohn Resig <jeresig@gmail.com>2011-01-20 14:51:30 -0500
commit2e2d5e9db5ee9886644d75954d327e6d284e2da8 (patch)
tree91f6f7c23c3ff3faa64837b0f59771f7377a3888 /src/traversing.js
parentc97b6ee36a1402b6f4bb3f6893b687eb294c41df (diff)
parent948c0dfffcf077ed71e4712b38a33d06ea63264c (diff)
downloadjquery-2e2d5e9db5ee9886644d75954d327e6d284e2da8.tar.gz
jquery-2e2d5e9db5ee9886644d75954d327e6d284e2da8.zip
Merge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery into dmethvin-fix-7853-add-context
Diffstat (limited to 'src/traversing.js')
-rw-r--r--src/traversing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traversing.js b/src/traversing.js
index 929547c11..90601df55 100644
--- a/src/traversing.js
+++ b/src/traversing.js
@@ -141,7 +141,7 @@ jQuery.fn.extend({
add: function( selector, context ) {
var set = typeof selector === "string" ?
- jQuery( selector, context || this.context ) :
+ jQuery( selector, context ) :
jQuery.makeArray( selector ),
all = jQuery.merge( this.get(), set );