Wikia/app — pull request #5237 by lizlux (2014-11-04 05:35:16+00:00)
Title: Vid 2089 Fixing JS for lazy loaded elements

Covers tickets like:
- https://wikia-inc.atlassian.net/browse/UC-68
- https://wikia-inc.atlassian.net/browse/VID-2089
- https://wikia-inc.atlassian.net/browse/VID-2105

There's a bunch of places where lazy loading content means JS won't initialize for article elements that rely on JS. This PR should cover the majority of those cases.

Places where elements are lazy loaded:
- Tab View [example](http://lizlux.liz.wikia-dev.com/wiki/TabView)
- Article Comments (initial load, new posts, edits) [example](http://glee.liz.wikia-dev.com/wiki/LizTest#comm-1567703)
- Message Wall (new posts, edits, preview) [example](http://glee.liz.wikia-dev.com/wiki/Message_Wall:Lizlux)

Elements that rely on JS:
- mw-collapsible [example](http://glee.liz.wikia-dev.com/wiki/LizTest#comm-1567706)
- new galleries [example](http://glee.liz.wikia-dev.com/wiki/LizTest#comm-1567703)