mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Return the zeroed-out bounding box instead of passing it on.
This commit is contained in:
parent
26db3f0933
commit
19b4ba35c4
@ -25,7 +25,7 @@ if ( "getBoundingClientRect" in document.documentElement ) {
|
||||
box = elem.getBoundingClientRect();
|
||||
|
||||
} catch(e) {
|
||||
box = { top: 0, left: 0 };
|
||||
return { top: 0, left: 0 };
|
||||
}
|
||||
|
||||
var doc = elem.ownerDocument,
|
||||
|
Loading…
Reference in New Issue
Block a user