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 7a76b59 commit 9b4683cCopy full SHA for 9b4683c
src/addons/addons/toolbox-category-drag/userscript.js
@@ -89,11 +89,14 @@ export default async function ({ addon }) {
89
}
90
91
92
- if (optParse && configComment) {
+ if (configComment) {
93
+ if (!optParse) return true;
94
+
95
const dataLine = configComment.split("\n").find(i => i.endsWith(COMMENT_TRAPPER_ID));
96
if (!dataLine) return undefined;
97
return dataLine.substr(0, dataLine.length - COMMENT_TRAPPER_ID.length);
98
99
+ return optParse ? unefined : false;
100
101
102
function saveOrdering() {
0 commit comments