- Fix: Extension with no `placement` to be added to end;

for #326 (@sjernigan)
master
Brett Zamir 2019-03-05 22:19:02 +08:00
parent d7b9cc6309
commit e524ae6174
10 changed files with 11 additions and 9 deletions

View File

@ -2,6 +2,8 @@
## ? ## ?
- Fix: Ensure extension with no `placement` is added to end;
fixes #326 (@sjernigan)
- Optimization fix: Properly run code conditionally on browser check; - Optimization fix: Properly run code conditionally on browser check;
fixes #312 (@ianli-sc) fixes #312 (@ianli-sc)
- Enhancement: Add CAD Placemark extension (@NeiroNx) - Enhancement: Add CAD Placemark extension (@NeiroNx)

2
dist/index-es.js vendored
View File

@ -32151,7 +32151,7 @@ editor.init = function () {
if ($$b(parent).children().eq(btn.position).length) { if ($$b(parent).children().eq(btn.position).length) {
$$b(parent).children().eq(btn.position).before(button); $$b(parent).children().eq(btn.position).before(button);
} else { } else {
$$b(parent).children().last().before(button); $$b(parent).children().last().after(button);
} }
} else { } else {
button.appendTo(parent); button.appendTo(parent);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/index-umd.js vendored
View File

@ -32157,7 +32157,7 @@
if ($$b(parent).children().eq(btn.position).length) { if ($$b(parent).children().eq(btn.position).length) {
$$b(parent).children().eq(btn.position).before(button); $$b(parent).children().eq(btn.position).before(button);
} else { } else {
$$b(parent).children().last().before(button); $$b(parent).children().last().after(button);
} }
} else { } else {
button.appendTo(parent); button.appendTo(parent);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3273,7 +3273,7 @@ editor.init = function () {
if ($(parent).children().eq(btn.position).length) { if ($(parent).children().eq(btn.position).length) {
$(parent).children().eq(btn.position).before(button); $(parent).children().eq(btn.position).before(button);
} else { } else {
$(parent).children().last().before(button); $(parent).children().last().after(button);
} }
} else { } else {
button.appendTo(parent); button.appendTo(parent);

View File

@ -32154,7 +32154,7 @@
if ($$b(parent).children().eq(btn.position).length) { if ($$b(parent).children().eq(btn.position).length) {
$$b(parent).children().eq(btn.position).before(button); $$b(parent).children().eq(btn.position).before(button);
} else { } else {
$$b(parent).children().last().before(button); $$b(parent).children().last().after(button);
} }
} else { } else {
button.appendTo(parent); button.appendTo(parent);

View File

@ -32154,7 +32154,7 @@
if ($$b(parent).children().eq(btn.position).length) { if ($$b(parent).children().eq(btn.position).length) {
$$b(parent).children().eq(btn.position).before(button); $$b(parent).children().eq(btn.position).before(button);
} else { } else {
$$b(parent).children().last().before(button); $$b(parent).children().last().after(button);
} }
} else { } else {
button.appendTo(parent); button.appendTo(parent);