Skip to content

Commit

Permalink
Dealing with programmers who leave out semicolons because it’s pretty t…
Browse files Browse the repository at this point in the history
…wbs/bootstrap#3057

Thus, adding in some semicolons to make it work with jsmin
  • Loading branch information
automatic-frog committed Jan 13, 2013
1 parent 40d5f97 commit db489e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions public/js/bootstrap-modal.js
Expand Up @@ -49,24 +49,24 @@
this.isShown = true
this.$element.trigger('show')

escape.call(this)
escape.call(this);
backdrop.call(this, function () {
var transition = $.support.transition && that.$element.hasClass('fade')
var transition = $.support.transition && that.$element.hasClass('fade');

!that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position

that.$element
.show()
.show();

if (transition) {
that.$element[0].offsetWidth // force reflow
}

that.$element.addClass('in')
that.$element.addClass('in');

transition ?
that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) :
that.$element.trigger('shown')
that.$element.trigger('shown');

})
}
Expand Down Expand Up @@ -207,4 +207,4 @@
})
})

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

0 comments on commit db489e9

Please sign in to comment.