File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -583,8 +583,8 @@ Rule.prototype.after = function after(result, options) {
583583 // only add the node property for the check.after so we can
584584 // look at which iframe a check result came from, but we don't
585585 // want it for the final results object
586- if ( check . id === 'sub- menu-metadata ' ) {
587- if ( item . data . metaData ) {
586+ if ( check . id === 'menu-expand' || check . id === ' menu-popup ') {
587+ if ( item ? .data ? .metaData ) {
588588 delete item . node ;
589589 item . result = true ;
590590 }
@@ -598,7 +598,7 @@ Rule.prototype.after = function after(result, options) {
598598 } ) ;
599599
600600 // Trying for sub-menu
601- if ( result . id === 'sub- menu-metadata ' ) {
601+ if ( result . id === 'menu-expand' || result . id === ' menu-popup ') {
602602 const data = result . nodes . filter ( ( r ) => ! r . all [ 0 ] . result ) ;
603603 data . forEach ( ( r ) => {
604604 const node = r . all [ 0 ] . data ;
You can’t perform that action at this time.
0 commit comments