Skip to content
Browse files

update Magnific Popup to 0.9.9

set Magnific Popup to use cdnjs
fixes #42
  • Loading branch information...
1 parent d366194 commit e309d30d104539e4d56316af825c9e7b662daefc @matt-h matt-h committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions.php
View
2 functions.php
@@ -56,7 +56,7 @@ function scaffolding_scripts_and_styles() {
wp_register_style( 'scaffolding-ie-only', get_stylesheet_directory_uri() . '/css/ie.css', array(), '' );
//Magnific Popups (LightBox)
- wp_register_script( 'magnific-popup-js', get_stylesheet_directory_uri() . '/js/libs/jquery.magnific-popup.min.js', array( 'jquery' ), '0.9.5', true );
+ wp_register_script( 'magnific-popup-js', '//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/0.9.9/jquery.magnific-popup.min.js', array( 'jquery' ), '0.9.9', true );
//Font Awesome (icon set)
wp_register_style( 'font-awesome', '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.1/css/font-awesome.min.css', array(), '4.0.1' );

0 comments on commit e309d30

Please sign in to comment.
Something went wrong with that request. Please try again.