Skip to content

Commit 9b02edc

Browse files
committed
UserJS v7.6.1
Signed-off-by: Magic <[email protected]>
1 parent 869ca4b commit 9b02edc

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

CHANGELOG.user.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v7.6.1
4+
5+
* Fixed sorting
6+
37
## v7.6.0
48

59
* New feature, `Preview Metadata` - same as `Preview Code` but loads userscripts metadata head

UserJS.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "7.6.0",
2+
"version": "7.6.1",
33
"name": "Magic Userscript+ : Show Site All UserJS",
44
"description": "Finds available userscripts for the current webpage.",
55
"author": "Magic <[email protected]>",

dist/magic-userjs.meta.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/magic-userjs.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 7.6.0
2+
// @version 7.6.1
33
// @name Magic Userscript+ : Show Site All UserJS
44
// @name:ar Magic Userscript+: عرض جميع ملفات UserJS
55
// @name:de Magic Userscript+ : Website anzeigen Alle UserJS
@@ -3026,7 +3026,7 @@ class Container {
30263026
this.tab.create(host);
30273027

30283028
const tabbody = this.tabbody;
3029-
const getCellValue = (tr, idx) => tr.children[idx].dataset.value;
3029+
const getCellValue = (tr, idx) => tr.children[idx].dataset.value || tr.children[idx].textContent;
30303030
const comparer = (idx, asc) => (a, b) =>
30313031
((v1, v2) =>
30323032
v1 !== '' && v2 !== '' && !isNaN(v1) && !isNaN(v2)

src/UserJS/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ class Container {
13521352
this.tab.create(host);
13531353

13541354
const tabbody = this.tabbody;
1355-
const getCellValue = (tr, idx) => tr.children[idx].dataset.value;
1355+
const getCellValue = (tr, idx) => tr.children[idx].dataset.value || tr.children[idx].textContent;
13561356
const comparer = (idx, asc) => (a, b) =>
13571357
((v1, v2) =>
13581358
v1 !== '' && v2 !== '' && !isNaN(v1) && !isNaN(v2)

0 commit comments

Comments
 (0)