diff options
author | Heckyel <heckyel@openmailbox.org> | 2017-02-22 17:18:51 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2017-02-22 17:18:51 -0500 |
commit | 44f83b1e89dfbc0c6f671c911748efa20b65afcb (patch) | |
tree | 59de5eac45797f09dc9ad9b625d30be99960574e | |
parent | 3e66817ef0af3dd4da1d28d284d3f176e75c1c89 (diff) | |
download | librevideojs-html5-player-44f83b1e89dfbc0c6f671c911748efa20b65afcb.tar.lz librevideojs-html5-player-44f83b1e89dfbc0c6f671c911748efa20b65afcb.tar.xz librevideojs-html5-player-44f83b1e89dfbc0c6f671c911748efa20b65afcb.zip |
Order syntax
-rw-r--r-- | librevideojs-html5-player.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index dc3b673..b856c25 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -89,7 +89,7 @@ function librevideojs_html5_player_enqueue_scripts(){ wp_enqueue_style('lvjs-material', $plugin_url . '/librevideojs/css/material/master.css', array(), '1.4'); wp_enqueue_style('lvjs-selector', $plugin_url . '/librevideojs/css/quality-selector.css', array(), '1.4'); wp_enqueue_script('lvjs', $plugin_url . '/librevideojs/js/cliplibrejs.dev.js', array(), L_VERSION); - } else if ( ( is_page() || is_author() || is_single() ) && strpos($post->post_content, '[librevideojs_video') !== false ){ + } else if ( ( is_author() || is_page() || is_single() ) && strpos($post->post_content, '[librevideojs_video') !== false ){ wp_enqueue_style('lvjs-mix-master', $plugin_url . '/librevideojs/css/mix-material/master.css', array(), '1.4'); wp_enqueue_style('lvjs-material', $plugin_url . '/librevideojs/css/material/master.css', array(), '1.4'); wp_enqueue_style('lvjs-selector', $plugin_url . '/librevideojs/css/quality-selector.css', array(), '1.4'); |