Wikia/app — pull request #5085 by lizlux (2014-10-21 01:11:33+00:00)
Title: VID-2076 fixing issue with captions in new galleries on elderscrolls

This has to do with a jQuery bug that was fixed in v1.8 but older versions of jQuery UI still trigger the old functionality. Tickets with more info are here http://bugs.jquery.com/ticket/12491 and here http://bugs.jquery.com/ticket/10413.

The bug was that ```$.fn.outerWidth``` returned a jQuery object instead of a string when:
- no arguments are passed
- element has ```box-sizing: border-box```
- parent is hidden (although I'm not 100% sure about this b/c I don't think the parent div is hidden).

Fix: pass an argument!