Skip to content

Commit

Permalink
Update ContentPanorama.php
Browse files Browse the repository at this point in the history
removed obsolete file inclusion (see #1)
  • Loading branch information
bennyborn authored Mar 16, 2021
1 parent e82ecd3 commit 756171c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions elements/ContentPanorama.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ protected function compile() {
$this->Template->showCompass = $this->panorama_compass;

// add javascripts and stylesheet to head
if( !is_array($GLOBALS['TL_JAVASCRIPT']) || array_search('system/modules/ce_panorama/assets/libpannellum.js',$GLOBALS['TL_JAVASCRIPT']) === FALSE ) {
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/ce_panorama/assets/libpannellum.js';
}

if( !is_array($GLOBALS['TL_JAVASCRIPT']) || array_search('system/modules/ce_panorama/assets/pannellum.js',$GLOBALS['TL_JAVASCRIPT']) === FALSE ) {
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/ce_panorama/assets/pannellum.js';
}
Expand All @@ -76,4 +72,4 @@ protected function compile() {
}
}
}
}
}

0 comments on commit 756171c

Please sign in to comment.