mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 09:35:11 +00:00
minor wiki changes
This commit is contained in:
parent
501bd814c3
commit
90a97ae35f
2 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue