@salesforcedevs/docs-components 1.3.327-rnbtab-alpha1 → 1.3.327-rnbtab-alpha2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -210,10 +210,6 @@ export default class ContentLayout extends LightningElement {
|
|
|
210
210
|
);
|
|
211
211
|
this.searchSyncer.init();
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
if (this.showTabBasedRNB) {
|
|
215
|
-
window.addEventListener("tabchanged", this.onTabChanged);
|
|
216
|
-
}
|
|
217
213
|
}
|
|
218
214
|
|
|
219
215
|
private getSelectedTabId() {
|
|
@@ -271,6 +267,7 @@ export default class ContentLayout extends LightningElement {
|
|
|
271
267
|
this.hasRendered = true;
|
|
272
268
|
this.setRNBByTab();
|
|
273
269
|
if (this.showTabBasedRNB) {
|
|
270
|
+
window.addEventListener("tabchanged", this.onTabChanged);
|
|
274
271
|
this.restoreTabSelection();
|
|
275
272
|
}
|
|
276
273
|
this.restoreScroll();
|