git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jquery fx: closes #2542. show/hide(0, fn) wasn't calling the callback.
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
aeae874
..
3b11ed8
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-52,11
+52,6
@@
jQuery.fn = jQuery.prototype = {
return this;
}
return this;
}
- // $("body"): Shortcut for quickly finding the body element
- if ( selector === "body" && !context && document.body ) {
- selector = document.body;
- }
-
// Handle $(DOMElement)
if ( selector.nodeType ) {
this.context = this[0] = selector;
// Handle $(DOMElement)
if ( selector.nodeType ) {
this.context = this[0] = selector;