Skip to content
Snippets Groups Projects
Commit 6084a5b6 authored by Tae Hoon's avatar Tae Hoon
Browse files

update event name

parent c23a87d8
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<Modal
v-if="showing"
class="media-modal-view"
@close="hide"
@backdropClicked="hide"
>
<img
v-if="type === 'image'"
......
......@@ -4,11 +4,6 @@ const Modal = {
type: Boolean,
default: true
}
},
methods: {
closeModal () {
this.$emit('close')
}
}
}
......
......@@ -3,7 +3,7 @@
v-show="isOpen"
v-body-scroll-lock="isOpen"
class="modal-view"
@click.self="closeModal"
@click.self="$emit('backdropClicked')"
>
<slot />
</div>
......
......@@ -3,7 +3,7 @@
v-if="isLoggedIn && !resettingForm"
:is-open="modalActivated"
class="post-form-modal-view"
@close="closeModal"
@backdropClicked="closeModal"
>
<div class="post-form-modal-panel panel">
<div class="panel-heading">
......
<template>
<Modal
v-if="isOpen"
@close="closeModal"
@backdropClicked="closeModal"
>
<div class="user-reporting-panel panel">
<div class="panel-heading">
......
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