Anpassung der if Logic und anpassung der Version.

This commit is contained in:
2026-04-27 15:48:00 +02:00
parent 56948098d5
commit 5396010b53
+2 -2
View File
@@ -1,7 +1,7 @@
// ==UserScript==
// @name academyFIVE::AddSelectBox
// @namespace dakp/academyfive
// @version 2026.03.003
// @version 2026.04.001
// @description Füge Selectbox für Kohorten hinzu
// @author Dims Akpan
// @match https://a5.fhdw-hannover.de/*
@@ -17,7 +17,7 @@
function addSelectButtons() {
// Prüfe ob wir auf der richtigen Seite sind
if (!window.location.href.includes('/course/planning-group/list') & !window.location.href.includes('/course/list')) {
if (!window.location.href.includes('/course/list') && !window.location.href.includes('/course/planning-group/list')) {
return;
}