diff --git a/app/assets/javascripts/bootstrap3-editable/bootstrap-editable.js b/app/assets/javascripts/bootstrap3-editable/bootstrap-editable.js index 551fec1..0db635e 100644 --- a/app/assets/javascripts/bootstrap3-editable/bootstrap-editable.js +++ b/app/assets/javascripts/bootstrap3-editable/bootstrap-editable.js @@ -1439,15 +1439,13 @@ Applied as jQuery method. }, innerShow: function () { - this.$element.hide(); + this.$element.addClass('hide'); this.tip().insertAfter(this.$element).show(); }, innerHide: function () { - this.$tip.hide(this.options.anim, $.proxy(function() { - this.$element.show(); - this.innerDestroy(); - }, this)); + this.$element.removeClass('hide'); + this.innerDestroy(); }, innerDestroy: function() { @@ -6804,4 +6802,4 @@ Automatically shown in inline mode. $.fn.editabletypes.datetimefield = DateTimeField; -}(window.jQuery)); \ No newline at end of file +}(window.jQuery));