Clean working version: CSS hides all, JS shows unhidden via API

This commit is contained in:
2026-04-16 15:05:06 +02:00
parent 31e942dab6
commit 51a141a892

View File

@@ -9,7 +9,6 @@ use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IConfig;
use OCP\Util;
class Application extends App implements IBootstrap {
@@ -21,7 +20,6 @@ class Application extends App implements IBootstrap {
}
public function register(IRegistrationContext $context): void {
// Load CSS - hides all by default
$context->registerEventListener(
TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS,
function() {