Skip to content

Commit 99f835b

Browse files
authored
Disable Vue's console advertisments (#15354)
1 parent 477c453 commit 99f835b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web_src/js/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ const commentMDEditors = {};
3535
// Silence fomantic's error logging when tabs are used without a target content element
3636
$.fn.tab.settings.silent = true;
3737

38+
// Silence Vue's console advertisments in dev mode
39+
// To use the Vue browser extension, enable the devtools option temporarily
40+
Vue.config.productionTip = false;
41+
Vue.config.devtools = false;
42+
3843
function initCommentPreviewTab($form) {
3944
const $tabMenu = $form.find('.tabular.menu');
4045
$tabMenu.find('.item').tab();

0 commit comments

Comments
 (0)