mirror of
				https://github.com/KevinMidboe/leifsopplevelser.git
				synced 2025-10-29 17:50:21 +00:00 
			
		
		
		
	Did the url replace directly in the template area.
This commit is contained in:
		| @@ -2,7 +2,7 @@ | |||||||
|   <div class="popover"> |   <div class="popover"> | ||||||
|     <div class="popover-content" @click="hidePopover" v-touch:swipe.left="backwards" v-touch:swipe.right="forwards"> |     <div class="popover-content" @click="hidePopover" v-touch:swipe.left="backwards" v-touch:swipe.right="forwards"> | ||||||
|       <div class="image-container"> |       <div class="image-container"> | ||||||
|         <img :src="tempUrl" /> |         <img :src="album[index].url.replace('thumb', 'lg')" /> | ||||||
|        |        | ||||||
|         <div class="other-elements"> |         <div class="other-elements"> | ||||||
|           <p>There is something here</p> |           <p>There is something here</p> | ||||||
| @@ -26,8 +26,6 @@ export default { | |||||||
|   computed: { |   computed: { | ||||||
|     album: () => store.getters.popoverAlbum, |     album: () => store.getters.popoverAlbum, | ||||||
|     index: () => store.getters.popoverAlbumIndex, |     index: () => store.getters.popoverAlbumIndex, | ||||||
|  |  | ||||||
|     tempUrl: () => album[index].url.replace('thumb', 'lg') |  | ||||||
|   }, |   }, | ||||||
|   created() { |   created() { | ||||||
|     window.addEventListener('keyup', this.arrowNavigation) |     window.addEventListener('keyup', this.arrowNavigation) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user