mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 06:28:46 -04:00
Use nice condensed table with border
and alos clean the prettyMessage even without showdown
This commit is contained in:
parent
f755a99ab8
commit
58bd603c7c
7 changed files with 9 additions and 9 deletions
|
@ -655,12 +655,12 @@ $(function() {
|
|||
this.clearText.html(
|
||||
converter.makeHtml(text)
|
||||
);
|
||||
// add table class from bootstrap css
|
||||
this.clearText.find('table').addClass('table');
|
||||
// add table classes from bootstrap css
|
||||
this.clearText.find('table').addClass('table-condensed table-bordered');
|
||||
|
||||
this.clearText.removeClass('hidden');
|
||||
this.prettyMessage.addClass('hidden');
|
||||
}
|
||||
this.prettyMessage.addClass('hidden');
|
||||
break;
|
||||
case 'syntaxhighlighting':
|
||||
if (typeof prettyPrintOne === 'function')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue