Skip to content

Commit

Permalink
fix: modal positionning
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jul 28, 2020
1 parent 788ac89 commit a0e0873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function(event) {
autoOpen: false,
height: "auto",
modal: true,
position: ['center', 50],
position: {my: 'center'},
open: function( event, ui ) {
//remove existing tinymce when reopen modal (without this, tinymce don't load on 2nd opening of dialog)
modalWindow.find('.mce-container').remove();
Expand Down

0 comments on commit a0e0873

Please sign in to comment.