Don't enable "Image Prefetching" on internal archive.
Fixes bug from fc8684282f33970e37c048670093ea76a001a42d.
This commit is contained in:
parent
9ce6da9590
commit
3b61cbc21f
@ -14,7 +14,7 @@ ImageLoader =
|
|||||||
if Conf['Replace WEBM']
|
if Conf['Replace WEBM']
|
||||||
$.on d, 'scroll visibilitychange 4chanXInitFinished PostsInserted', @playVideos
|
$.on d, 'scroll visibilitychange 4chanXInitFinished PostsInserted', @playVideos
|
||||||
|
|
||||||
return unless Conf['Image Prefetching']
|
return unless Conf['Image Prefetching'] and g.VIEW in ['index', 'thread']
|
||||||
|
|
||||||
prefetch = $.el 'label',
|
prefetch = $.el 'label',
|
||||||
<%= html('<input type="checkbox" name="prefetch"> Prefetch Images') %>
|
<%= html('<input type="checkbox" name="prefetch"> Prefetch Images') %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user