Browse Source

bug fix for non-image and spoiler thumbnails

pull/40/head
Savetheinternet 13 years ago
parent
commit
514eb2aa84
  1. 8
      inc/display.php

8
inc/display.php

@ -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…
Cancel
Save