Skip to content

Commit

Permalink
fix merge conflict after 0.8.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefox committed Jul 3, 2017
1 parent 7a10b52 commit 5b83154
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ $.modal.defaults = {
closeClass: '', // Add additional class(es) to the close <a> tag.
showClose: true, // Shows a (X) icon/link in the top-right corner
modalClass: "modal", // CSS class added to the element being displayed in the modal.
blockerClass: "modal", // CSS class added to the overlay (blocker).
spinnerHtml: null, // HTML appended to the default spinner during AJAX requests.
showSpinner: true, // Enable/disable the default spinner during AJAX requests.
fadeDuration: null, // Number of milliseconds the fade transition takes (null means no transition)
Expand Down
3 changes: 2 additions & 1 deletion jquery.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
block: function() {
this.$elm.trigger($.modal.BEFORE_BLOCK, [this._ctx()]);
this.$body.css('overflow','hidden');
this.$blocker = $('<div class="jquery-modal blocker current"></div>').appendTo(this.$body);
this.$blocker = $('<div class="' + this.options.blockerClass + ' blocker current"></div>').appendTo(this.$body);
selectCurrent();
if(this.options.doFade) {
this.$blocker.css('opacity',0).animate({opacity: 1}, this.options.fadeDuration);
Expand Down Expand Up @@ -204,6 +204,7 @@
closeText: 'Close',
closeClass: '',
modalClass: "modal",
blockerClass: "jquery-modal",
spinnerHtml: null,
showSpinner: true,
showClose: true,
Expand Down
2 changes: 1 addition & 1 deletion jquery.modal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b83154

Please sign in to comment.