From 0def8ac03d13bd186e6beaa927efa9311b7a00e3 Mon Sep 17 00:00:00 2001 From: LEGAGNEUR Matthieu Date: Sun, 18 Jul 2021 21:29:50 +0200 Subject: [PATCH] Reaveal (css fix) --- dwf/class/reveal.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dwf/class/reveal.class.php b/dwf/class/reveal.class.php index 5ec951bf2..37e35a1e9 100755 --- a/dwf/class/reveal.class.php +++ b/dwf/class/reveal.class.php @@ -24,9 +24,9 @@ class reveal { public function __construct($width = 600, $height = 600, $theme = "white") { if (!self::$_called) { $base = "../commun/src/js"; - echo html_structures::link_in_body("$base/reveal/dist/reveal.css") . - html_structures::link_in_body("$base/reveal/dist/theme/$theme.css") . - html_structures::link_in_body("$base/reveal/plugin/highlight/monokai.css"); + compact_css::get_instance()->add_css_file("$base/reveal/dist/reveal.css"); + compact_css::get_instance()->add_css_file("$base/reveal/dist/theme/$theme.css"); + compact_css::get_instance()->add_css_file("$base/reveal/plugin/highlight/monokai.css"); foreach ([ "$base/reveal/dist/reveal.js", "$base/reveal/plugin/highlight/highlight.js",