diff --git a/js/privatebin.js b/js/privatebin.js index 50ce23c7..aa321432 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2413,20 +2413,6 @@ jQuery.PrivateBin = (function($, RawDeflate) { $prettyMessage = $('#prettymessage'); $prettyPrint = $('#prettyprint'); - // check requirements - if (typeof prettyPrintOne !== 'function') { - Alert.showError([ - 'The library %s is not available. This may cause display errors.', - 'pretty print' - ]); - } - if (typeof showdown !== 'object') { - Alert.showError([ - 'The library %s is not available. This may cause display errors.', - 'showdown' - ]); - } - // get default option from template/HTML or fall back to set value format = Model.getFormatDefault() || format; text = ''; diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 304cacd9..e2e7e1d6 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -72,7 +72,7 @@ if ($MARKDOWN): endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index 59e8ea85..1e0e86cc 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -50,7 +50,7 @@ if ($MARKDOWN): endif; ?> - +