mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Disable Vue's console advertisments (#15354)
This commit is contained in:
		| @@ -35,6 +35,11 @@ const commentMDEditors = {}; | |||||||
| // Silence fomantic's error logging when tabs are used without a target content element | // Silence fomantic's error logging when tabs are used without a target content element | ||||||
| $.fn.tab.settings.silent = true; | $.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) { | function initCommentPreviewTab($form) { | ||||||
|   const $tabMenu = $form.find('.tabular.menu'); |   const $tabMenu = $form.find('.tabular.menu'); | ||||||
|   $tabMenu.find('.item').tab(); |   $tabMenu.find('.item').tab(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user