mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	タイムラインの上に設置した投稿フォームでコンテキストメニューが表示できない問題を修正
This commit is contained in:
		
							parent
							
								
									5679777010
								
							
						
					
					
						commit
						b177b0cafc
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
<div class="mk-app" :class="{ wallpaper }">
 | 
			
		||||
	<XSidebar ref="nav" class="sidebar"/>
 | 
			
		||||
 | 
			
		||||
	<div class="contents" ref="contents" :class="{ withHeader: $store.state.titlebar }" @contextmenu.prevent.stop="onContextmenu">
 | 
			
		||||
	<div class="contents" ref="contents" :class="{ withHeader: $store.state.titlebar }" @contextmenu.stop="onContextmenu">
 | 
			
		||||
		<header v-if="$store.state.titlebar" class="header" ref="header" @click="onHeaderClick">
 | 
			
		||||
			<XHeader :info="pageInfo"/>
 | 
			
		||||
		</header>
 | 
			
		||||
| 
						 | 
				
			
			@ -194,6 +194,7 @@ export default defineComponent({
 | 
			
		|||
		},
 | 
			
		||||
 | 
			
		||||
		onContextmenu(e) {
 | 
			
		||||
			if (['INPUT', 'TEXTAREA'].includes(e.target.tagName) || e.target.attributes['contenteditable']) return;
 | 
			
		||||
			const path = this.$route.path;
 | 
			
		||||
			os.contextMenu([{
 | 
			
		||||
				type: 'label',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue