@@ -303,17 +303,17 @@ function photoswipe_scripts_method() {
303
303
wp_enqueue_script ('jquery ' );
304
304
305
305
//Core JS file
306
- wp_enqueue_script ( 'photoswipe ' , $ photoswipe_wp_plugin_path . '/photoswipe-dist/photoswipe.min.js ' );
306
+ wp_enqueue_script ( 'photoswipe ' , $ photoswipe_wp_plugin_path . '/photoswipe-dist/photoswipe.min.js ' );
307
307
308
- wp_enqueue_script ( 'photoswipe-masonry-js ' , $ photoswipe_wp_plugin_path . '/photoswipe-masonry.js ' );
308
+ wp_enqueue_script ( 'photoswipe-masonry-js ' , $ photoswipe_wp_plugin_path . '/photoswipe-masonry.js ' );
309
309
310
310
//UI JS file
311
- wp_enqueue_script ( 'photoswipe-ui-default ' , $ photoswipe_wp_plugin_path . '/photoswipe-dist/photoswipe-ui-default.min.js ' );
311
+ wp_enqueue_script ( 'photoswipe-ui-default ' , $ photoswipe_wp_plugin_path . '/photoswipe-dist/photoswipe-ui-default.min.js ' );
312
312
313
313
//Masonry - re-named to move to header
314
- wp_enqueue_script ( 'photoswipe-masonry ' , $ photoswipe_wp_plugin_path . '/masonry.pkgd.min.js ' ,'' ,'' ,false );
314
+ wp_enqueue_script ( 'photoswipe-masonry ' , $ photoswipe_wp_plugin_path . '/masonry.pkgd.min.js ' ,'' ,'' ,false );
315
315
//imagesloaded
316
- wp_enqueue_script ( 'imagesloaded ' , $ photoswipe_wp_plugin_path . '/imagesloaded.pkgd.min.js ' ,'' ,'' ,false );
316
+ wp_enqueue_script ( 'imagesloaded ' , $ photoswipe_wp_plugin_path . '/imagesloaded.pkgd.min.js ' ,'' ,'' ,false );
317
317
318
318
}
319
319
add_action ('wp_enqueue_scripts ' , 'photoswipe_scripts_method ' );
0 commit comments