Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
check for iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
timelsass committed Mar 2, 2019
1 parent 9068115 commit a7b6ae1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assets/dev/scripts/theme-sniffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ export default class ThemeSniffer {

$singleItem.find( this.reportItemLine ).text( line );
$singleItem.find( this.reportItemType ).text( type );
$singleItem.find( this.reportItemMessage ).html( message );
if ( message.includes( 'iframe' ) ) {
$singleItem.find( this.reportItemMessage ).text( message );
} else {
$singleItem.find( this.reportItemMessage ).html( message );
}
$singleItem.appendTo( $reportReportTable );
}
);
Expand Down

0 comments on commit a7b6ae1

Please sign in to comment.