Skip to content
Snippets Groups Projects
Commit 64f366b1 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

show copy link only if supported

parent 77468b07
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</template> </template>
</v-snackbar> </v-snackbar>
<v-btn v-if="!webShareApiSupported || $vuetify.breakpoint.mdAndUp" <v-btn v-if="(!webShareApiSupported || $vuetify.breakpoint.mdAndUp) && navigator.clipboard"
x-small depressed class="toolbar-button" rounded tabindex="0" @click="copy_link"> x-small depressed class="toolbar-button" rounded tabindex="0" @click="copy_link">
<v-icon small>link</v-icon><span class = "button-text">Kopier lenke</span> <v-icon small>link</v-icon><span class = "button-text">Kopier lenke</span>
</v-btn> </v-btn>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment