|
|
@@ -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', ',',
|