Update class on main element

This commit is contained in:
David Chen 2021-07-29 16:17:49 -04:00 committed by GitHub
parent c258ad0777
commit b928a44038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ function renderBypass()
function processData(data){ function processData(data){
// Clear the "hidden explanation" out and replace it with a blank explanation area. // Clear the "hidden explanation" out and replace it with a blank explanation area.
// The innermost item is ".s1i7awl8" // The innermost item is ".s1i7awl8"
document.querySelector('main .mwhvwas').innerHTML = '<div class="c18oith1 sladerBypass"><div class="s1oluvjw"><h4 class="h1cwp1lk">Explanation</h4><div class="as7m9cv snqbbas"><div data-testid="ExplanationsSolution" class="e1sw891e"><div class="s1i7awl8"></div></div></div></div></div>'; document.querySelector('main .mv7e89c').innerHTML = '<div class="c18oith1 sladerBypass"><div class="s1oluvjw"><h4 class="h1cwp1lk">Explanation</h4><div class="as7m9cv snqbbas"><div data-testid="ExplanationsSolution" class="e1sw891e"><div class="s1i7awl8"></div></div></div></div></div>';
var expArea = document.querySelector('.sladerBypass .s1i7awl8') var expArea = document.querySelector('.sladerBypass .s1i7awl8')
// Render new stuff // Render new stuff