Fixed #1781 for warnings created on load by FF javascript.options.strict == true.

This commit is contained in:
David Serduke 2007-12-16 01:03:50 +00:00
parent 4e339ef557
commit feb9051c0e
5 changed files with 43 additions and 36 deletions

View file

@ -85,8 +85,6 @@ jQuery.fn.offset = function() {
results = { top: top, left: left };
}
return results;
function border(elem) {
add( jQuery.css(elem, "borderLeftWidth"), jQuery.css(elem, "borderTopWidth") );
}
@ -95,4 +93,6 @@ jQuery.fn.offset = function() {
left += parseInt(l) || 0;
top += parseInt(t) || 0;
}
return results;
};