From 9dd4519a6fb961e46b577b365c53e40a11e6b2b9 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 20 Nov 2025 13:48:52 +0100 Subject: [PATCH] perf: Load talk UI earlier Signed-off-by: Joas Schilling --- templates/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.php b/templates/index.php index 79db43716fb..7e17e18ed8b 100644 --- a/templates/index.php +++ b/templates/index.php @@ -6,6 +6,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -\OCP\Util::addScript('spreed', 'talk-main'); -\OCP\Util::addStyle('spreed', 'talk-main'); +\OCP\Util::addScript('spreed', 'talk-main', prepend: true); +\OCP\Util::addStyle('spreed', 'talk-main', prepend: true); style('spreed', 'talk-icons');