A free, self-hostable news aggregator…
Variable full_lazyload
Alexandre Alapetitea58e4203f60e
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtmlindex 7adb57037..c5a14ad06 100644--- a/app/views/javascript/main.phtml+++ b/app/views/javascript/main.phtml@@ -7,10 +7,11 @@',auto_mark_site=', $mark['site'] === 'yes' ? 'true' : 'false',',auto_mark_scroll=', $mark['scroll'] === 'yes' ? 'true' : 'false',',auto_load_more=', $this->conf->autoLoadMore () === 'yes' ? 'true' : 'false',- ',does_lazyload=', $this->conf->lazyload() === 'yes' ? 'true' : 'false', ";\n";+ ',full_lazyload=', $this->conf->lazyload () === 'yes' && ($this->conf->displayPosts () === 'yes' || Request::param ('output') === 'reader') ? 'true' : 'false',+ ',does_lazyload=', $this->conf->lazyload() === 'yes' ? 'true' : 'false';$s = $this->conf->shortcuts ();- echo 'var shortcuts={',+ echo ',shortcuts={','mark_read:"', $s['mark_read'], '",','mark_favorite:"', $s['mark_favorite'], '",','go_website:"', $s['go_website'], '",',