1
0
mirror of https://github.com/elisspace/AskAssist.git synced 2026-08-29 15:33:47 +00:00

support in class activity questions

This commit is contained in:
johnSickels
2021-05-08 10:06:51 -04:00
parent 125f506760
commit bda8d78286

View File

@@ -198,7 +198,8 @@ function appendTool(html){
function newQuestion(){
console.log('searching for new question...')
let search = document.body.innerHTML.search('<b data-stringify-type="bold">AVAILABLE QUESTIONS</b>');
const match = /(AVAILABLE QUESTIONS|IN CLASS ACTIVITY QUESTIONS)/
const search = document.body.innerHTML.search(match);
if(search!==-1){
return true;
} else {