From 99f835b9cab8da9a14688d88228057518ca1f669 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 9 Apr 2021 12:12:55 +0200 Subject: [PATCH] Disable Vue's console advertisments (#15354) --- web_src/js/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_src/js/index.js b/web_src/js/index.js index 28f2087e3..d5fe53eef 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -35,6 +35,11 @@ const commentMDEditors = {}; // Silence fomantic's error logging when tabs are used without a target content element $.fn.tab.settings.silent = true; +// Silence Vue's console advertisments in dev mode +// To use the Vue browser extension, enable the devtools option temporarily +Vue.config.productionTip = false; +Vue.config.devtools = false; + function initCommentPreviewTab($form) { const $tabMenu = $form.find('.tabular.menu'); $tabMenu.find('.item').tab();