use modal-lg instead of width 80%
This commit is contained in:
parent
90a97ae35f
commit
14cfa90d63
@ -408,8 +408,7 @@
|
||||
if (data.success) {
|
||||
var modalBody = $('#generic-modal-body-{{$wikiModalID}}');
|
||||
modalBody.html('<div class="descriptive-text">'+data.diff+'</div>');
|
||||
// this does not work well on small devices
|
||||
//$('.modal-dialog').width('80%');
|
||||
$('.modal-dialog').addClass('modal-lg');
|
||||
$("#generic-modal-ok-{{$wikiModalID}}").off('click');
|
||||
$("#generic-modal-ok-{{$wikiModalID}}").click(function () {
|
||||
wiki_revert_page(compareCommit);
|
||||
|
Reference in New Issue
Block a user