aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-16 14:17:10 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-16 14:17:10 +0100
commit14cfa90d63e9fe00ce22cee0ee6a92770834e2ac (patch)
treeb9d6f0380b2c9329276954fd902d9d3725e9c454 /view
parent90a97ae35f0758117a4065dacd1b2b1f6db5515c (diff)
downloadvolse-hubzilla-14cfa90d63e9fe00ce22cee0ee6a92770834e2ac.tar.gz
volse-hubzilla-14cfa90d63e9fe00ce22cee0ee6a92770834e2ac.tar.bz2
volse-hubzilla-14cfa90d63e9fe00ce22cee0ee6a92770834e2ac.zip
use modal-lg instead of width 80%
Diffstat (limited to 'view')
-rw-r--r--view/tpl/wiki.tpl3
1 files changed, 1 insertions, 2 deletions
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('<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);