| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | // Javascript for gallery |
| 26 | 26 | $physical_file = MGL_PATH . '/app/galleries.js'; |
| 27 | 27 | $cache_buster = file_exists( $physical_file ) ? filemtime( $physical_file ) : MGL_VERSION; |
| 28 | 28 | wp_register_script( 'mgl-gallery-js', plugins_url( '/app/galleries.js', __DIR__ ), |
| 29 | - array(), $cache_buster, false ); | |
| 29 | + array( 'jquery' ), $cache_buster, false ); | |
| 30 | 30 | |
| 31 | 31 | // Load the "admin" scripts |
| 32 | 32 | $physical_file = MGL_PATH . '/app/admin.js'; |
| 33 | 33 | $cache_buster = file_exists( $physical_file ) ? filemtime( $physical_file ) : MGL_VERSION; |