Skip to content

Commit

Permalink
Merge pull request #4 from taliesinpenbardd/patch-2
Browse files Browse the repository at this point in the history
Modified wp_enqueue_script()
  • Loading branch information
padams authored Sep 28, 2020
2 parents 4cc2796 + 7c6a766 commit e71284d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/slideshow/slideshow.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function public_scripts( $content ) {
wp_enqueue_script(
'photopress-slideshow',
plugins_url( 'assets/js/slideshow.js' , __FILE__ ),
[ 'jquery', 'imagesloaded', 'owl' ],
[ 'jquery', 'imagesloaded', 'owl', 'photopress' ],
PHOTOPRESS_CORE_VERSION
);
}
Expand Down Expand Up @@ -297,4 +297,4 @@ public function registerSettingsPages() {
}
}

?>
?>

0 comments on commit e71284d

Please sign in to comment.