Skip to content

Commit

Permalink
Merge pull request jhollingworth#203 from vitalets/master
Browse files Browse the repository at this point in the history
Image modal; append to `body` as well as link modal
  • Loading branch information
jhollingworth committed Feb 18, 2013
2 parents 70c2b0f + 73b6f52 commit 87647cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap-wysihtml5.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
if (!activeButton) {
self.editor.currentView.element.focus(false);
caretBookmark = self.editor.composer.selection.getBookmark();
insertImageModal.modal('show');
insertImageModal.appendTo('body').modal('show');
insertImageModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
e.stopPropagation();
});
Expand Down

0 comments on commit 87647cd

Please sign in to comment.