Skip to content

Commit

Permalink
fix: 修复第一张图片是动图的时候,排序后所有图片都识别为动图的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocrosoft committed Oct 31, 2024
1 parent 7091dbf commit dd84333
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pixiv previewer.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Pixiv Previewer(Dev)
// @namespace https://github.com/Ocrosoft/PixivPreviewer
// @version 3.7.27
// @version 3.7.28
// @description Display preview images (support single image, multiple images, moving images); Download animation(.zip); Sorting the search page by favorite count(and display it). Updated for the latest search page.
// @description:zh-CN 显示预览图(支持单图,多图,动图);动图压缩包下载;搜索页按热门度(收藏数)排序并显示收藏数,适配11月更新。
// @description:ja プレビュー画像の表示(単一画像、複数画像、動画のサポート); アニメーションのダウンロード(.zip); お気に入りの数で検索ページをソートします(そして表示します)。 最新の検索ページ用に更新されました。
Expand Down Expand Up @@ -3322,6 +3322,7 @@ function PixivSK(callback) {
bookmarkCountDiv.empty();
bookmarkSvg.find('path:first').css('fill', 'rgb(31, 31, 31)');
bookmarkSvg.find('path:last').css('fill', 'rgb(255, 255, 255)');
imageDiv.find('svg').remove();

if (g_settings.linkBlank) {
imageLink.attr('target', '_blank');
Expand Down

0 comments on commit dd84333

Please sign in to comment.