feat: add NSFW confirm alert

This commit is contained in:
Sebin Nyshkim 2020-12-19 21:30:27 +01:00
parent 80be636384
commit d1a7f89c2e
4 changed files with 166 additions and 13 deletions

View file

@ -5,7 +5,11 @@
<div>
If you wish to see NSFW content on this page flip this switch.
</div>
<nsfw-switch v-model="$parent.nsfw" />
<nsfw-switch
id="nsfw-switch-top"
v-model="$parent.nsfw"
@change="$parent.showWarning()"
/>
</div>
</div>