Closed maksym-mikheienko closed 8 years ago
That's weird - why would calling outerWidth()
result in it returning anything other than an integer? The jQuery docs suggest that should be all that is returned: http://api.jquery.com/outerWidth/ .
Can you link to a test case?
Looks like it's jQuery 1.8.2 bug. Can't give an example. Full page is too complex but when I extract essentials it works fine.
Can you confirm that the issue is resolved if you use a different version of jQuery?
I've plugged in the latest 1.11.1 jQuery and it worked fine.
Super thanks for letting me know. If it is a jQuery bug and not present in the current releases, I'll not modify FixedHeader (call this a teflon bug ;-) ).
Guys, please consider replacing
outerWidth()
withouterWidth(true)
orwidth()
. I've experienced some examples where method call with no parameters have returned object itself and it caused errors.