Fix Werk Tyme on Tinyboard sites that didn't upgrade to vichan.

Also move thumbLink selector out of file object to avoid setting post.file.thumbLink twice.
This commit is contained in:
ccd0 2019-07-12 15:57:42 -07:00
parent 72b7c8dc5e
commit a70648d8b1
3 changed files with 4 additions and 3 deletions

View File

@ -1392,7 +1392,8 @@ input[name="Default Volume"] {
:root.fappeTyme $site$relative$replyOriginal.noFile + br {
display: none;
}
:root.werkTyme $site$file$thumbLink,
:root.werkTyme $site$thumbLink,
:root.werkTyme $site$file$thumb,
:root.werkTyme .catalog-thumb:not(.deleted-file):not(.no-file),
:root:not(.werkTyme) .werkTyme-filename {
display: none;

View File

@ -84,7 +84,7 @@ SW.tinyboard =
text: '.fileinfo'
link: '.fileinfo > a'
thumb: 'a > .post-image'
thumbLink: '.file > a'
thumbLink: '.file > a'
relative:
opHighlight: ' > .op'
replyPost: '.reply'

View File

@ -41,7 +41,7 @@ SW.yotsuba =
text: '.file > :first-child'
link: '.fileText > a'
thumb: 'a.fileThumb > [data-md5]'
thumbLink: 'a.fileThumb'
thumbLink: 'a.fileThumb'
relative:
opHighlight: '.opContainer'
replyPost: ' > .reply'