Skip to content

Commit

Permalink
append to body image modal as well as link modal
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Jan 20, 2013
1 parent 3520809 commit 73b6f52
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 @@ -262,7 +262,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 73b6f52

Please sign in to comment.