aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/javascript_vars.phtml
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-06-05 23:37:05 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-05 23:37:05 +0200
commitdc68783fc844323682ad19c8156417a1ec7ac998 (patch)
tree58d6daeb288ad0616734297b2c6695a4d2b59930 /app/views/helpers/javascript_vars.phtml
parent8c4d71da2ef1366c8fcd3e7dfb7f4566d2f905f4 (diff)
Add controls on media (#3036)
Now, there is a shortcut to play or pause media available from an entry. If there is more than one media available, only the first one will be targeted. See #1952
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
-rw-r--r--app/views/helpers/javascript_vars.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 52489c5c3..e6fb4ab3f 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -41,6 +41,7 @@ echo htmlspecialchars(json_encode(array(
'global_view' => @$s['global_view'],
'reading_view' => @$s['reading_view'],
'rss_view' => @$s['rss_view'],
+ 'toggle_media' => @$s['toggle_media'],
),
'urls' => array(
'index' => _url('index', 'index'),