| @@ -78,9 +78,9 @@ | ||
| 78 | 78 | $screen = get_current_screen(); |
| 79 | 79 | |
| 80 | 80 | // Load the Patchstack style on all Patchstack pages except site overview. |
| 81 | 81 | if ( isset( $screen->base, $_GET['page'] ) && stripos( $screen->base, 'patchstack' ) !== false && $_GET['page'] != 'patchstack-multisite' ) { |
| 82 | - wp_enqueue_style( 'patchstack', $this->plugin->url . 'assets/css/patchstack.css', array(), $this->plugin->version ); | |
| 82 | + wp_enqueue_style( 'patchstack', $this->plugin->url . 'assets/css/patchstack.min.css', array(), $this->plugin->version ); | |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | // Only load the selectize CSS file on the firewall settings page. |
| 86 | 86 | if ( isset( $screen->base ) && stripos( $screen->base, 'patchstack' ) !== false && isset( $_GET['tab'] ) && $_GET['tab'] == 'firewall' ) { |
| @@ -100,9 +100,9 @@ | ||
| 100 | 100 | */ |
| 101 | 101 | public function enqueue_scripts() { |
| 102 | 102 | $screen = get_current_screen(); |
| 103 | 103 | if ( isset( $screen->base ) && ( stripos( $screen->base, 'patchstack' ) !== false ) && current_user_can( 'manage_options' ) ) { |
| 104 | - wp_enqueue_script( 'patchstack', $this->plugin->url . 'assets/js/patchstack.js', array( 'jquery' ), $this->plugin->version ); | |
| 104 | + wp_enqueue_script( 'patchstack', $this->plugin->url . 'assets/js/patchstack.min.js', array( 'jquery' ), $this->plugin->version ); | |
| 105 | 105 | wp_enqueue_script( 'google-jsapi', 'https://www.google.com/jsapi' ); |
| 106 | 106 | wp_localize_script( |
| 107 | 107 | 'patchstack', |
| 108 | 108 | 'PatchstackVars', |