mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
chore(nav): revert unneed class
This commit is contained in:
@ -971,7 +971,6 @@ export function fireViewWillLifecycles(enteringView: ViewController, leavingView
|
||||
export function attachViewToDom(nav: Nav, enteringView: ViewController, ti: TransitionInstruction) {
|
||||
if (enteringView && enteringView.state === STATE_NEW) {
|
||||
return ti.delegate.attachViewToDom(nav.element, enteringView.component, enteringView.data, [], ti.escapeHatch).then((mountingData) => {
|
||||
mountingData.element.classList.add('nav-page');
|
||||
ti.mountingData = mountingData;
|
||||
Object.assign(enteringView, mountingData);
|
||||
enteringView.state = STATE_ATTACHED;
|
||||
|
Reference in New Issue
Block a user