Fix bug in Replace [filetype] features from v1.14.12.4.
This commit is contained in:
parent
27a6e7251e
commit
091db570d8
@ -1,8 +1,8 @@
|
||||
ImageLoader =
|
||||
init: ->
|
||||
return unless g.VIEW in ['index', 'thread', 'archive']
|
||||
return unless Conf['Image Prefetching'] or
|
||||
(replace = Conf['Replace JPG'] or Conf['Replace PNG'] or Conf['Replace GIF'] or Conf['Replace WEBM'])
|
||||
replace = Conf['Replace JPG'] or Conf['Replace PNG'] or Conf['Replace GIF'] or Conf['Replace WEBM']
|
||||
return unless Conf['Image Prefetching'] or replace
|
||||
|
||||
Callbacks.Post.push
|
||||
name: 'Image Replace'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user