Skip to content

Commit

Permalink
Update injectConfig.js
Browse files Browse the repository at this point in the history
Fix #99
  • Loading branch information
mclemente committed Sep 27, 2024
1 parent 6becd6e commit 9b2cbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/injectConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export var injectConfig = {
} else {
injectPoint = data.inject;
}
injectPoint = injectPoint ? $(injectPoint) : data.tab ? html.find(".tab").last() : html.find(".form-group").last();
injectPoint = injectPoint ? $(injectPoint) : data.tab ? html.find(".tab[data-group='main']").last() : html.find(".form-group").last();
let injectHtml = "";
for (const [k, v] of Object.entries(data)) {
if (k === "moduleId" || k === "inject" || k === "tab") continue;
Expand Down

0 comments on commit 9b2cbb1

Please sign in to comment.