Skip to content

Commit dbcc292

Browse files
committed
make sure adjustTabContentHeights is always called
1 parent 43b3cab commit dbcc292

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

website_and_docs/static/js/tabpane-persist.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ function tdGetAndActivatePersistedTabs(tabs) {
121121
tdActivateTabsWithKey(key);
122122
});
123123

124-
// Adjust tab content heights
125-
adjustTabContentHeights();
126-
127124
return key_ageList;
128125
}
129126

@@ -150,4 +147,6 @@ window.addEventListener('DOMContentLoaded', () => {
150147
} else {
151148
tdGetAndActivatePersistedTabs(allTabsInThisPage);
152149
}
150+
// Adjust tab content heights
151+
adjustTabContentHeights();
153152
});

0 commit comments

Comments
 (0)