Skip to content

Commit

Permalink
lightbox in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
uncovery committed Mar 19, 2016
1 parent 2349abc commit 5739332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unc_gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function unc_gallery_add_css_and_js() {
wp_enqueue_style('unc_gallery_css', plugin_dir_url( __FILE__ ) . 'css/gallery.css');

// lightbox
wp_register_script('unc_gallery_lightbox_js', plugin_dir_url( __FILE__ ) . 'js/lightbox.min.js', array(), '2.8.2', false);
wp_register_script('unc_gallery_lightbox_js', plugin_dir_url( __FILE__ ) . 'js/lightbox.min.js', array(), '2.8.2', true);
wp_enqueue_script('unc_gallery_lightbox_js');
wp_enqueue_style('unc_gallery_lightbox_css', plugin_dir_url( __FILE__ ) . 'css/lightbox.min.css');
}

0 comments on commit 5739332

Please sign in to comment.