Update backstretch script

This commit is contained in:
Robin Cornett
2017-10-25 14:09:39 -04:00
parent 9fa9d96773
commit d45f6315d3
2 changed files with 3 additions and 6 deletions
@@ -121,10 +121,10 @@ class Display_Featured_Image_Genesis_Output {
*/
protected function do_backstretch_image_things() {
$common = $this->get_common_class();
wp_register_script( 'displayfeaturedimage-backstretch', plugins_url( '/includes/js/backstretch.js', dirname( __FILE__ ) ), array( 'jquery' ), $common->version, true );
wp_register_script( 'backstretch', plugins_url( '/includes/js/backstretch.js', dirname( __FILE__ ) ), array( 'jquery' ), '2.1.15', true );
wp_enqueue_script( 'displayfeaturedimage-backstretch-set', plugins_url( '/includes/js/backstretch-set.js', dirname( __FILE__ ) ), array(
'jquery',
'displayfeaturedimage-backstretch',
'backstretch',
), $common->version, true );
add_action( 'wp_print_scripts', array( $this, 'localize_scripts' ) );
File diff suppressed because one or more lines are too long