From 121b1e75d2678eb802fc888c14bbb82007c051a7 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 24 Aug 2019 08:42:33 +0200 Subject: [PATCH] remove debug statement, fixes #462 --- js/privatebin.js | 2 -- tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index 629df1d..29071d6 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -527,8 +527,6 @@ jQuery.PrivateBin = (function($, RawDeflate) { // handle the error by attaching the language loaded event let orgArguments = arguments; $(document).on(languageLoadedEvent, function () { - // log to show that the previous error could be mitigated - console.warn('Fix missing translation of \'' + messageId + '\' with now loaded language ' + language); // re-execute this function me.translate.apply(this, orgArguments); }); diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index c8303a3..e775b7b 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -71,7 +71,7 @@ if ($MARKDOWN): endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index 723cfb6..89973f2 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -49,7 +49,7 @@ if ($MARKDOWN): endif; ?> - +