Skip to content

Commit

Permalink
Reaveal (css fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
legagneur-matthieu committed Jul 18, 2021
1 parent 9ccc0f0 commit 0def8ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dwf/class/reveal.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0def8ac

Please sign in to comment.