minor wiki changes
This commit is contained in:
parent
501bd814c3
commit
90a97ae35f
@ -408,7 +408,8 @@
|
||||
if (data.success) {
|
||||
var modalBody = $('#generic-modal-body-{{$wikiModalID}}');
|
||||
modalBody.html('<div class="descriptive-text">'+data.diff+'</div>');
|
||||
$('.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}}
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
@ -1,4 +1,8 @@
|
||||
<style>
|
||||
.diff {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.diff td{
|
||||
padding:0 0.667em;
|
||||
vertical-align:top;
|
||||
|
Reference in New Issue
Block a user