Skip to content

Commit 29d8e9d

Browse files
xiaohuohumaxgithub-actions[bot]
authored andcommitted
build: 📦 build user script
1 parent ef6e9ea commit 29d8e9d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dist/github-commit-sort.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name GitHub 仓库文件按提交时间排序📅(GitHub Commit Sort)
33
// @namespace xiaohuohumax/userscripts/github-commit-sort
4-
// @version 1.1.1
4+
// @version 1.1.2
55
// @author xiaohuohumax
66
// @description GitHub 仓库无法快速查看最新的变更文件?试试这个 GitHub 仓库文件按提交时间排序的用户脚本吧!
77
// @license MIT
@@ -46,7 +46,7 @@
4646
return debounced;
4747
};
4848
const ID = "github-commit-sort";
49-
const VERSION = "1.1.1";
49+
const VERSION = "1.1.2";
5050
var _GM_addValueChangeListener = /* @__PURE__ */ (() => typeof GM_addValueChangeListener != "undefined" ? GM_addValueChangeListener : void 0)();
5151
var _GM_getValue = /* @__PURE__ */ (() => typeof GM_getValue != "undefined" ? GM_getValue : void 0)();
5252
var _GM_setValue = /* @__PURE__ */ (() => typeof GM_setValue != "undefined" ? GM_setValue : void 0)();
@@ -91,7 +91,7 @@
9191
function querySortButtonParent() {
9292
const table = queryTable();
9393
const mainTable = table == null ? void 0 : table.querySelector(
94-
'body tr[class^="Box-sc-"] > td > div > div:last-child'
94+
'body tr[class^="DirectoryContent-module"] > td > div > div:last-child'
9595
);
9696
if (mainTable) {
9797
return { sortButtonParent: mainTable, isMainPage: true };

0 commit comments

Comments
 (0)