diff options
| author | 2014-11-22 08:05:21 -0500 | |
|---|---|---|
| committer | 2014-11-22 08:05:21 -0500 | |
| commit | 0ad04f82ea1a09e39f68782f697c678b220b38ee (patch) | |
| tree | 415d8088de387d2d12ace7844f0098d1c4757243 /app/views/helpers/javascript_vars.phtml | |
| parent | 2c50ed7dc1c11571e3af0ee163e414cc321be2ca (diff) | |
| parent | a3a77b09e96f66eec4e31e638b58c785cfb369a3 (diff) | |
Merge pull request #710 from FreshRSS/hide-article
Add an automatic sticky post configuration
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
| -rw-r--r-- | app/views/helpers/javascript_vars.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml index 6424d8d04..0961ac3fe 100644 --- a/app/views/helpers/javascript_vars.phtml +++ b/app/views/helpers/javascript_vars.phtml @@ -27,7 +27,7 @@ echo 'var context={', 'auto_load_more:', FreshRSS_Context::$conf->auto_load_more ? 'true' : 'false', ',', 'auto_actualize_feeds:', $auto_actualize ? 'true' : 'false', ',', 'does_lazyload:', FreshRSS_Context::$conf->lazyload ? 'true' : 'false', ',', - 'sticky_post:', FreshRSS_Context::$conf->sticky_post ? 'true' : 'false', ',', + 'sticky_post:', FreshRSS_Context::isStickyPostEnabled() ? 'true' : 'false', ',', 'html5_notif_timeout:', FreshRSS_Context::$conf->html5_notif_timeout, ',', 'auth_type:"', Minz_Configuration::authType(), '",', 'current_user_mail:', $mail ? ('"' . $mail . '"') : 'null', ',', |
