mirror of
				https://github.com/bra1n/townsquare.git
				synced 2025-10-21 16:55:12 +00:00 
			
		
		
		
	moved image opt-in to grimoire tab
This commit is contained in:
		
							parent
							
								
									8bd3c9b450
								
							
						
					
					
						commit
						819534dab6
					
				
					 1 changed files with 11 additions and 14 deletions
				
			
		|  | @ -69,6 +69,16 @@ | |||
|               /> | ||||
|             </em> | ||||
|           </li> | ||||
|           <li v-if="!edition.isOfficial" @click="imageOptIn"> | ||||
|             <small>Show Custom Images</small> | ||||
|             <em | ||||
|               ><font-awesome-icon | ||||
|                 :icon="[ | ||||
|                   'fas', | ||||
|                   grimoire.isImageOptIn ? 'check-square' : 'square' | ||||
|                 ]" | ||||
|             /></em> | ||||
|           </li> | ||||
|           <li @click="setBackground"> | ||||
|             Background image | ||||
|             <em><font-awesome-icon icon="image"/></em> | ||||
|  | @ -107,19 +117,6 @@ | |||
|               Send Characters | ||||
|               <em><font-awesome-icon icon="theater-masks"/></em> | ||||
|             </li> | ||||
|             <li | ||||
|               v-if="session.isSpectator && !edition.isOfficial" | ||||
|               @click="imageOptIn" | ||||
|             > | ||||
|               Show Custom Images | ||||
|               <em | ||||
|                 ><font-awesome-icon | ||||
|                   :icon="[ | ||||
|                     'fas', | ||||
|                     grimoire.isImageOptIn ? 'check-square' : 'square' | ||||
|                   ]" | ||||
|               /></em> | ||||
|             </li> | ||||
|             <li | ||||
|               v-if="session.voteHistory.length" | ||||
|               @click="toggleModal('voteHistory')" | ||||
|  | @ -266,7 +263,7 @@ export default { | |||
|     }, | ||||
|     imageOptIn() { | ||||
|       const popup = | ||||
|         "Are you sure you want to allow custom images? A malicious storyteller might get access to your IP address this way."; | ||||
|         "Are you sure you want to allow custom images? A malicious script file author might track your IP address this way."; | ||||
|       if (this.grimoire.isImageOptIn || confirm(popup)) { | ||||
|         this.toggleImageOptIn(); | ||||
|       } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue