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) {
583
583
// only add the node property for the check.after so we can
584
584
// look at which iframe a check result came from, but we don't
585
585
// 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 ) {
588
588
delete item . node ;
589
589
item . result = true ;
590
590
}
@@ -598,7 +598,7 @@ Rule.prototype.after = function after(result, options) {
598
598
} ) ;
599
599
600
600
// Trying for sub-menu
601
- if ( result . id === 'sub- menu-metadata ' ) {
601
+ if ( result . id === 'menu-expand' || result . id === ' menu-popup ') {
602
602
const data = result . nodes . filter ( ( r ) => ! r . all [ 0 ] . result ) ;
603
603
data . forEach ( ( r ) => {
604
604
const node = r . all [ 0 ] . data ;
You can’t perform that action at this time.
0 commit comments