diff --git a/components/ILIAS/UI/UI.php b/components/ILIAS/UI/UI.php index dfe29b391ff3..824c5d67ad72 100644 --- a/components/ILIAS/UI/UI.php +++ b/components/ILIAS/UI/UI.php @@ -78,6 +78,8 @@ public function init( new Component\Resource\ComponentJS($this, "js/Prompt/dist/prompt.min.js"); $contribute[Component\Resource\PublicAsset::class] = fn() => new Component\Resource\ComponentJS($this, "js/Page/stdpage.js"); + $contribute[Component\Resource\PublicAsset::class] = fn() => + new Component\Resource\NodeModule("webui-popover/dist/jquery.webui-popover.min.js"); $contribute[Component\Resource\PublicAsset::class] = fn() => new Component\Resource\ComponentJS($this, "js/Popover/popover.js"); $contribute[Component\Resource\PublicAsset::class] = fn() => @@ -113,10 +115,7 @@ public function init( $contribute[Component\Resource\PublicAsset::class] = fn() => new Component\Resource\NodeModule("mediaelement/build/renderers/vimeo.min.js"); */ - /* This library was missing after discussing dependencies for ILIAS 10 - $contribute[Component\Resource\PublicAsset::class] = fn() => - new Component\Resource\NodeModule("webui-popover/dist/jquery.webui-popover.min.js"); - */ + // This is included via anonymous classes as a testament to the fact, that