Skip to content

Commit a430ea7

Browse files
committed
fix: remove one bit of the cleanup logic from the nav-priority component; throws a JS error when removed / re-added via rendering service
1 parent c152ffe commit a430ea7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/components/bolt-nav-priority/nav-priority.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,5 @@ export class BoltNavPriority extends BoltComponent() {
233233
disconnecting() {
234234
this.removeEventListener('navlink:click', this._onActivateLink);
235235
window.removeEventListener('optimizedResize', this._adaptPriorityNav);
236-
237-
// remove dropdown markup when cleaning up.
238-
this.removeChild(this.moreListItem);
239236
}
240237
}

0 commit comments

Comments
 (0)