Recompiled JS and updated for new script name.
This commit is contained in:
1 parent
b5161c2955
commit
234ed808aa
2 files changed
+21
-12
No files matched your search
+2
-2
@@ -184,11 +184,11 @@ class Laps {
|
||||
|
||||
static function enqueue_scripts() {
|
||||
|
||||
wp_register_script( 'laps-tooltip', plugins_url( 'js/tooltip.js', __DIR__ ), array( 'jquery' ), '3.0.2', true );
|
||||
wp_register_script( 'laps', plugins_url( 'js/laps.js', __DIR__ ), array( 'jquery' ), '3.2.0', true );
|
||||
wp_register_style( 'laps', plugins_url( 'css/laps.css', __DIR__ ) );
|
||||
|
||||
if ( is_admin_bar_showing() ) {
|
||||
wp_enqueue_script( 'laps-tooltip' );
|
||||
wp_enqueue_script( 'laps' );
|
||||
wp_enqueue_style( 'laps' );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user