Skip to content

Commit

Permalink
Monkey patching to address bootstrap using !important
Browse files Browse the repository at this point in the history
  • Loading branch information
Z Li committed Jun 26, 2015
1 parent 5c7a6ab commit d334146
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/assets/javascripts/bootstrap3-editable/bootstrap-editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -6804,4 +6802,4 @@ Automatically shown in inline mode.

$.fn.editabletypes.datetimefield = DateTimeField;

}(window.jQuery));
}(window.jQuery));

0 comments on commit d334146

Please sign in to comment.