remove mini markdown renderer everywhere

was still used for comment emails etc
This commit is contained in:
jomo
2015-01-26 00:42:58 +01:00
parent f0c0c1c20e
commit 374f602163
19 changed files with 16 additions and 60 deletions

View File

@@ -23,11 +23,7 @@ $(function() {
prev.html("<i>(Loading ...)</i>");
prev.show();
editor.hide();
if (target.parent().parent().hasClass('mini')) {
var url = '/tools/render_mini_markdown';
} else {
var url = '/tools/render_markdown';
}
var url = '/tools/render_markdown';
$.ajax(url, {
type: 'post',
data: {text: editor.val()},