From 710fa500a8740c132e5774e753329c16069ba9a4 Mon Sep 17 00:00:00 2001 From: Eike Foken Date: Wed, 14 Sep 2011 23:03:58 +0200 Subject: [PATCH] Remove whitespace between buttons of in-place editor --- assets/js/jquery.editinplace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('
')