aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeckyel <heckyel@openmailbox.org>2017-02-22 17:18:51 -0500
committerHeckyel <heckyel@openmailbox.org>2017-02-22 17:18:51 -0500
commit44f83b1e89dfbc0c6f671c911748efa20b65afcb (patch)
tree59de5eac45797f09dc9ad9b625d30be99960574e
parent3e66817ef0af3dd4da1d28d284d3f176e75c1c89 (diff)
downloadlibrevideojs-html5-player-44f83b1e89dfbc0c6f671c911748efa20b65afcb.tar.lz
librevideojs-html5-player-44f83b1e89dfbc0c6f671c911748efa20b65afcb.tar.xz
librevideojs-html5-player-44f83b1e89dfbc0c6f671c911748efa20b65afcb.zip
Order syntax
-rw-r--r--librevideojs-html5-player.php2
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');