docs updated
This commit is contained in:
parent
7657d78604
commit
6dacba9b33
45 changed files with 1023 additions and 748 deletions
|
@ -247,6 +247,11 @@ pjax.updateTabState = function (src) {
|
|||
} else {
|
||||
tab = Y.one('#classdocs .api-class-tab.' + defaultTab);
|
||||
|
||||
// When the `defaultTab` node isn't found, `localStorage` is stale.
|
||||
if (!tab && defaultTab !== 'index') {
|
||||
tab = Y.one('#classdocs .api-class-tab.index');
|
||||
}
|
||||
|
||||
if (classTabView.get('rendered')) {
|
||||
Y.Widget.getByNode(tab).set('selected', 1);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue