From 14cfa90d63e9fe00ce22cee0ee6a92770834e2ac Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 16 Nov 2016 14:17:10 +0100 Subject: use modal-lg instead of width 80% --- view/tpl/wiki.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'view') diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 91016152c..5aa9dbc77 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -408,8 +408,7 @@ if (data.success) { var modalBody = $('#generic-modal-body-{{$wikiModalID}}'); modalBody.html('
'+data.diff+'
'); - // 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); -- cgit v1.2.3