Side navigation
#12491 closed bug (notabug)
Opened September 08, 2012 09:20PM UTC
Closed September 09, 2012 05:18PM UTC
Last modified August 05, 2013 02:54PM UTC
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.
Attachments (0)
Change History (5)
Changed September 08, 2012 11:45PM UTC by comment:1
owner: | → anonymous |
---|---|
status: | new → pending |
Changed September 09, 2012 05:09PM UTC by comment:2
status: | pending → new |
---|
Please close the ticket.
This was actually being caused by an older version of jQuery UI hooking the outerWidth function.
Changed September 09, 2012 05:18PM UTC by comment:3
resolution: | → notabug |
---|---|
status: | new → closed |
Changed August 05, 2013 02:54PM UTC by comment:5
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.
Please provide a test case. Most likely something is shimming
outerWidth()
. Be sure your plugins are up to date.