diff --git a/assets/js/display.js b/assets/js/frontend.js similarity index 100% rename from assets/js/display.js rename to assets/js/frontend.js diff --git a/inc/display.php b/inc/display.php index 9aff867..9916a0b 100644 --- a/inc/display.php +++ b/inc/display.php @@ -37,7 +37,7 @@ class Display { static function enqueue_scripts() { wp_enqueue_style('ogrealert', \OgreAlert\Settings::get('dir') . 'assets/sass/style.css', array(), \OgreAlert\Settings::get('version'), 'all'); - wp_enqueue_script('ogrealert', \OgreAlert\Settings::get('dir') . 'assets/js/display.js', array('jquery'), \OgreAlert\Settings::get('version'), true); + wp_enqueue_script('ogrealert', \OgreAlert\Settings::get('dir') . 'assets/js/frontend.js', array('jquery'), \OgreAlert\Settings::get('version'), true); wp_localize_script('ogrealert', 'ogrealert', array( 'text_color' => \OgreAlert\Settings::get('message_text_color'), 'background_color' => \OgreAlert\Settings::get('message_background_color'),