From 90a97ae35f0758117a4065dacd1b2b1f6db5515c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 16 Nov 2016 13:14:46 +0100 Subject: minor wiki changes --- view/tpl/wiki.tpl | 5 +++-- view/tpl/wiki_page_history.tpl | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 26a0a72e8..91016152c 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -408,7 +408,8 @@ if (data.success) { var modalBody = $('#generic-modal-body-{{$wikiModalID}}'); modalBody.html('
'+data.diff+'
'); - $('.modal-dialog').width('80%'); + // this does not work well on small devices + //$('.modal-dialog').width('80%'); $("#generic-modal-ok-{{$wikiModalID}}").off('click'); $("#generic-modal-ok-{{$wikiModalID}}").click(function () { wiki_revert_page(compareCommit); @@ -545,4 +546,4 @@ $('#new-wiki-button').hide(); {{/if}} }); - \ No newline at end of file + diff --git a/view/tpl/wiki_page_history.tpl b/view/tpl/wiki_page_history.tpl index fef5d93a5..9a313f767 100644 --- a/view/tpl/wiki_page_history.tpl +++ b/view/tpl/wiki_page_history.tpl @@ -1,4 +1,8 @@