Fix image loading

This commit is contained in:
EthanHarv 2021-07-14 22:17:21 -05:00
parent 30d2e94fe8
commit 4a09ef35d6
4 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ or use
git clone https://github.com/lebr0nli/slader-extension.git
2. Select the file **slader_bypass-0.3-fx.xpi** in **slader-extension-main**
2. Select the file **slader_bypass-0.6-fx.xpi** in **slader-extension-main**
3. Drag the file into the URL bar, click "add" when prompted

View file

@ -76,7 +76,7 @@ function processData(data){
}
// Append server-rendered image src url. Used in errorhandling. (See: handleKatexError())
if (column.images.latex.large)
if (column.images.latex && column.images.latex.large)
{
div.querySelector('.sladerBypassKatex').setAttribute('katexsrc', column.images.latex.large.srcUrl);
}

View file

@ -1,6 +1,6 @@
{
"name": "slader bypass",
"version": "0.4",
"version": "0.6",
"author":"Alan Li & Ethan Harvey",
"description": "Slader/Quizlet 5 solutions limit bypass",
"permissions": [