diff --git a/src/view/form.js b/src/view/form.js index c6eb67d90a..6914ec761d 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -777,8 +777,8 @@ function eval_pyson(value){ 'data-toggle': 'tab', 'href': '#' + tab_id }) - .append(img) - .text(text)) + .text(text) + .prepend(img)) .appendTo(this.nav); pane.append(tab).appendTo(this.panes); if (!this.selected) {