Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Apr 29, 2022
1 parent 4d8eebd commit 5efd48c
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -154,10 +154,9 @@ public function frontend($request_params = [])


$animations = get_option( 'animations-global', 'template');
if($animations) {
if($animations) {
mw()->template->head('<script id="template-animations-data">mw.__pageAnimations = ' . $animations . '</script>');
}
if ($animations) {
// adds the animations definitions to the head
mw()->template->head('<script id="template-animations-data">mw.__pageAnimations = ' . $animations . '</script>');
}


Expand Down

0 comments on commit 5efd48c

Please sign in to comment.