- Fix: Extension with no placement to be added to end;
for #326 (@sjernigan)
This commit is contained in:
@@ -3273,7 +3273,7 @@ editor.init = function () {
|
||||
if ($(parent).children().eq(btn.position).length) {
|
||||
$(parent).children().eq(btn.position).before(button);
|
||||
} else {
|
||||
$(parent).children().last().before(button);
|
||||
$(parent).children().last().after(button);
|
||||
}
|
||||
} else {
|
||||
button.appendTo(parent);
|
||||
|
||||
@@ -32154,7 +32154,7 @@
|
||||
if ($$b(parent).children().eq(btn.position).length) {
|
||||
$$b(parent).children().eq(btn.position).before(button);
|
||||
} else {
|
||||
$$b(parent).children().last().before(button);
|
||||
$$b(parent).children().last().after(button);
|
||||
}
|
||||
} else {
|
||||
button.appendTo(parent);
|
||||
|
||||
Reference in New Issue
Block a user