From 8e1275c614c27b3a580ad653d9e199bdf6a077f9 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Fri, 2 Nov 2018 07:37:00 +0100 Subject: [PATCH] Use the application in the icons layout --- layouts/joomla/content/icons.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/joomla/content/icons.php b/layouts/joomla/content/icons.php index d5a25e6ca18a0..c85937cae058e 100644 --- a/layouts/joomla/content/icons.php +++ b/layouts/joomla/content/icons.php @@ -15,14 +15,13 @@ $canEdit = $displayData['params']->get('access-edit'); $articleId = $displayData['item']->id; - ?>
get('show_print_icon') || $displayData['params']->get('show_email_icon')) : ?> - getWebAssetManager()->enableAsset('bootstrap.js.bundle'); ?> + getDocument()->getWebAssetManager()->enableAsset('bootstrap.js.bundle'); ?>