git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be9302b
)
offset: make sure border width always gets calculated in pixels
author
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 19 Dec 2007 19:05:34 +0000
(19:05 +0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 19 Dec 2007 19:05:34 +0000
(19:05 +0000)
src/offset.js
patch
|
blob
|
history
diff --git
a/src/offset.js
b/src/offset.js
index
11a187e
..
cf1af33
100644
(file)
--- a/
src/offset.js
+++ b/
src/offset.js
@@
-86,7
+86,7
@@
jQuery.fn.offset = function() {
}
function border(elem) {
- add( jQuery.css(elem, "borderLeftWidth"), jQuery.css(elem, "borderTopWidth") );
+ add( jQuery.curCSS(elem, "borderLeftWidth", true), jQuery.curCSS(elem, "borderTopWidth", true) );
}
function add(l, t) {