We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab07a7 commit 25fda80Copy full SHA for 25fda80
lib/Listener/LoadViewerScript.php
@@ -59,12 +59,12 @@ public function handle(Event $event): void {
59
}
60
61
$alwaysShowViewer = $this->appConfig->getAppValue('always_show_viewer', 'no') === 'yes';
62
-
+
63
Util::addStyle(Application::APP_ID, 'viewer-init');
64
Util::addStyle(Application::APP_ID, 'viewer-main');
65
Util::addInitScript(Application::APP_ID, 'viewer-init');
66
Util::addScript(Application::APP_ID, 'viewer-main', 'files');
67
$this->initialStateService->provideInitialState('enabled_preview_providers', array_keys($this->previewManager->getProviders()));
68
- $this->initialStateService->provideInitialState('always_show_viewer', $alwaysShowViewer);
+ $this->initialStateService->provideInitialState("always_show_viewer", $alwaysShowViewer);
69
70
0 commit comments