Don't enable "Image Prefetching" on internal archive.

Fixes bug from fc8684282f33970e37c048670093ea76a001a42d.
This commit is contained in:
ccd0 2017-01-29 16:02:17 -08:00
parent 9ce6da9590
commit 3b61cbc21f

View File

@ -14,7 +14,7 @@ ImageLoader =
if Conf['Replace WEBM']
$.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',
<%= html('<input type="checkbox" name="prefetch"> Prefetch Images') %>