From 400b1109f7f355faabf2e2b95d86125c44eabfb8 Mon Sep 17 00:00:00 2001 From: dcooperdalrymple Date: Mon, 24 May 2021 14:56:21 -0500 Subject: [PATCH] Renamed display.js to frontend.js to prevent blockers. --- assets/js/{display.js => frontend.js} | 0 inc/display.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename assets/js/{display.js => frontend.js} (100%) 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'),