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

Merge pull request #1 from johnsickels/master

Support In Class Activity Questions
This commit is contained in:
Noxid86
2021-08-08 09:18:20 -05:00
committed by GitHub

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 {