projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smaller margin for endGame message
[vchess.git]
/
client
/
src
/
components
/
ContactForm.vue
diff --git
a/client/src/components/ContactForm.vue
b/client/src/components/ContactForm.vue
index
50270e6
..
e5d2732
100644
(file)
--- a/
client/src/components/ContactForm.vue
+++ b/
client/src/components/ContactForm.vue
@@
-4,7
+4,7
@@
div
type="checkbox"
@change="trySetEnterTime($event)"
)
type="checkbox"
@change="trySetEnterTime($event)"
)
- div(
+ div
#contactDiv
(
role="dialog"
data-checkbox="modalContact"
)
role="dialog"
data-checkbox="modalContact"
)
@@
-26,6
+26,7
@@
div
import { ajax } from "@/utils/ajax";
import { store } from "@/store";
import { checkNameEmail } from "@/data/userCheck";
import { ajax } from "@/utils/ajax";
import { store } from "@/store";
import { checkNameEmail } from "@/data/userCheck";
+import { processModalClick } from "@/utils/modalClick.js";
export default {
name: "my-contact-form",
data: function() {
export default {
name: "my-contact-form",
data: function() {
@@
-35,6
+36,10
@@
export default {
infoMsg: ""
};
},
infoMsg: ""
};
},
+ mounted: function() {
+ document.getElementById("contactDiv")
+ .addEventListener("click", processModalClick);
+ },
methods: {
trySetEnterTime: function(event) {
if (event.target.checked) {
methods: {
trySetEnterTime: function(event) {
if (event.target.checked) {