We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acf4e9d commit 207f85bCopy full SHA for 207f85b
1 file changed
github-issue-add-details.user.js
@@ -1,6 +1,6 @@
1
// ==UserScript==
2
// @name GitHub Issue Add Details
3
-// @version 1.0.9
+// @version 1.0.10
4
// @description A userscript that adds a button to insert a details block into comments
5
// @license MIT
6
// @author Rob Garrison
@@ -40,8 +40,8 @@
40
button.innerHTML = icon;
41
[...document.querySelectorAll(".toolbar-commenting")].forEach(el => {
42
if (el && !$(".ghad-details", el)) {
43
- const btn = $("[aria-label='Add a task list']", el);
44
- btn.parentNode.insertBefore(button.cloneNode(true), btn.nextSibling);
+ const btn = $("[aria-label*='Add a task list']", el);
+ btn.before(button.cloneNode(true));
45
}
46
});
47
0 commit comments