mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 17:14:04 +01:00
bug fix for non-image and spoiler thumbnails
This commit is contained in:
parent
aa372818b2
commit
f76e6990b3
@ -373,10 +373,10 @@
|
||||
($this->thumb == 'file' ? ' class="file"' : '') .
|
||||
'><img src="' .
|
||||
($this->thumb == 'file' ?
|
||||
$config['file_thumb']
|
||||
$config['root'] . $config['file_thumb']
|
||||
:
|
||||
($this->thumb == 'spoiler' ?
|
||||
$config['spoiler_image']
|
||||
$config['root'] . $config['spoiler_image']
|
||||
:
|
||||
$config['uri_thumb'] . $this->thumb
|
||||
)
|
||||
@ -546,10 +546,10 @@
|
||||
($this->thumb == 'file' ? ' class="file"' : '') .
|
||||
'><img src="' .
|
||||
($this->thumb == 'file' ?
|
||||
$config['file_thumb']
|
||||
$config['root'] . $config['file_thumb']
|
||||
:
|
||||
($this->thumb == 'spoiler' ?
|
||||
$config['spoiler_image']
|
||||
$config['root'] . $config['spoiler_image']
|
||||
:
|
||||
$config['uri_thumb'] . $this->thumb
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user