Skip to content

Commit 87647cd

Browse files
committed
Merge pull request jhollingworth#203 from vitalets/master
Image modal; append to `body` as well as link modal
2 parents 70c2b0f + 73b6f52 commit 87647cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap-wysihtml5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
if (!activeButton) {
267267
self.editor.currentView.element.focus(false);
268268
caretBookmark = self.editor.composer.selection.getBookmark();
269-
insertImageModal.modal('show');
269+
insertImageModal.appendTo('body').modal('show');
270270
insertImageModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
271271
e.stopPropagation();
272272
});

0 commit comments

Comments
 (0)