mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	fix preview status switch button on wiki editr (#14742)
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
		| @@ -1521,7 +1521,7 @@ function initWikiForm() { | ||||
|       const $bEdit = $('.repository.wiki.new .previewtabs a[data-tab="write"]'); | ||||
|       const $bPrev = $('.repository.wiki.new .previewtabs a[data-tab="preview"]'); | ||||
|       const $toolbar = $('.editor-toolbar'); | ||||
|       const $bPreview = $('.editor-toolbar a.fa-eye'); | ||||
|       const $bPreview = $('.editor-toolbar button.preview'); | ||||
|       const $bSideBySide = $('.editor-toolbar a.fa-columns'); | ||||
|       $bEdit.on('click', () => { | ||||
|         if ($toolbar.hasClass('disabled-for-preview')) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user