experimental: full support for background photos and videos

This commit is contained in:
SethBurkart123
2023-10-08 19:47:51 +11:00
parent 44025ecfa0
commit 39c42c5920
9 changed files with 187 additions and 87 deletions
+3 -2
View File
@@ -1157,7 +1157,6 @@ function ReplaceMenuSVG(element, svg) {
function AddBetterSEQTAElements(toggle) {
var code = document.getElementsByClassName("code")[0];
appendBackgroundToUI();
// Replaces students code with the version of BetterSEQTA
if (code != null) {
if (!code.innerHTML.includes("BetterSEQTA")) {
@@ -1324,8 +1323,10 @@ function AddBetterSEQTAElements(toggle) {
SendNewsPage();
}
});
}
}
appendBackgroundToUI();
CallExtensionSettings();
// If betterSEQTA+ is enabled, run the code