git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Standardized the type checks across core. isFunction and isArray now use Object.proto...
[jquery.git]
/
src
/
offset.js
diff --git
a/src/offset.js
b/src/offset.js
index
5c600cc
..
30dedbc
100644
(file)
--- a/
src/offset.js
+++ b/
src/offset.js
@@
-133,7
+133,7
@@
jQuery.each( ['Left', 'Top'], function(i, name) {
jQuery.fn[ method ] = function(val) {
if (!this[0]) return;
- return val != undefined ?
+ return val !== undefined ?
// Set the scroll offset
this.each(function() {