File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
components/organisms/annotation Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,13 @@ module.exports = {
13
13
] ,
14
14
// add your custom rules here
15
15
rules : {
16
+ "no-console" : "off" ,
17
+ "no-restricted-syntax" : [
18
+ "error" ,
19
+ {
20
+ "selector" : "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]" ,
21
+ "message" : "Unexpected property on console object was called"
22
+ }
23
+ ]
16
24
}
17
25
}
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" highlight-container highlight-container--bottom-labels" @click =" open" >
2
+ <div class =" highlight-container highlight-container--bottom-labels" @click =" open" @touchend = " open " >
3
3
<entity-item
4
4
v-for =" (chunk, i) in chunks"
5
5
:key =" i"
@@ -140,8 +140,8 @@ export default {
140
140
show (e ) {
141
141
e .preventDefault ()
142
142
this .showMenu = false
143
- this .x = e .clientX
144
- this .y = e .clientY
143
+ this .x = e .clientX || e . changedTouches [ 0 ]. clientX
144
+ this .y = e .clientY || e . changedTouches [ 0 ]. clientY
145
145
this .$nextTick (() => {
146
146
this .showMenu = true
147
147
})
You can’t perform that action at this time.
0 commit comments