Last modified: 2013-04-06 12:44:26 UTC
If custom tab is added before watchlist tab, on page resize it's ignored and stays in, only original tabs scroll/collapse to the menu.
Did you add class="collapsible" to the custom tab?
Adding class="collapsible" to the custom tab doesn't seem to help. The problem seems to be something involving the $settings variable, but I don't understand the code well enough to analyze the problem further.
TypeError: 'null' is not an object (evaluating '$settings.expandedContainer') load.php:407
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
What are steps to reproduce this? How to add a custom tab?
This certainly works now, even if it didn't work before. Tested using this JS: >>> mw.util.addPortletLink('p-views', '#', 'Test tab', 'ca-test', null, null, 'ca-history') >>> $('#ca-test').addClass('collapsible') The resulting tab collapses just like it should.