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 { :root.fappeTyme $site$relative$replyOriginal.noFile + br {
display: none; 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.werkTyme .catalog-thumb:not(.deleted-file):not(.no-file),
:root:not(.werkTyme) .werkTyme-filename { :root:not(.werkTyme) .werkTyme-filename {
display: none; display: none;

View File

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

View File

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