diff --git a/assets/js/jquery.editinplace.js b/assets/js/jquery.editinplace.js index 4507a6c..6f17d3c 100644 --- a/assets/js/jquery.editinplace.js +++ b/assets/js/jquery.editinplace.js @@ -247,7 +247,7 @@ $.extend(InlineEditor.prototype, { }, replaceContentWithEditor: function() { - var buttons_html = (this.settings.show_buttons) ? this.settings.save_button + ' ' + this.settings.cancel_button : ''; + var buttons_html = (this.settings.show_buttons) ? this.settings.save_button + '' + this.settings.cancel_button : ''; var editorElement = this.createEditorElement(); // needs to happen before anything is replaced /* insert the new in place form after the element they click, then empty out the original element */ this.dom.html('
')