[Trunk | Explore]: parsingFunctions.class.ts: [Bug fix] Stringify (+"") subject.classname (.toLowerCase() could throw error).

This commit is contained in:
Konstantina Galouni 2021-10-26 15:32:32 +03:00
parent 389cd74ba5
commit b2ad62b6ad
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ export class ParsingFunctions {
}
} else {
let content: string = subject.content+"";
let classname: string = subject.classname;
let classname: string = subject.classname + "";
// console.log("other subject: "+classname + ": " +content);
if( (content && content.toLowerCase().includes(this.notebookKeyword) ||