#12491 closed bug (notabug)
outerWidth() / outerHeight() returns the jquery object when called with zero args
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
behavior of this has changed from 1.7 to 1.8.
When calling $(".selector").outerWidth() or .outerHeight(), the $(".selector") object is returned rather than outerWidth without the margins.
Calling $(".selector").outerWidth(false) works as expected.
Change History (5)
comment:1 Changed 11 years ago by
Owner: | set to anonymous |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Status: | pending → new |
---|
Please close the ticket.
This was actually being caused by an older version of jQuery UI hooking the outerWidth function.
comment:3 Changed 11 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:5 Changed 10 years ago by
I was also facing the same issue while I was on jquery UI V 1.1.18. Changing the version to 1.1.23 resolved the issue.
Thanks.
Note: See
TracTickets for help on using
tickets.
Please provide a test case. Most likely something is shimming
outerWidth()
. Be sure your plugins are up to date.