fix: code style
This commit is contained in:
@@ -138,7 +138,7 @@ export default {
|
||||
|
||||
if (this.preventScroll) {
|
||||
document.addEventListener('touchstart', this.recordPosition, false);
|
||||
document.addEventListener('touchmove', this.watchTouchMove, false);
|
||||
document.addEventListener('touchmove', this.watchTouchMove, false);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ const PopupManager = {
|
||||
|
||||
let domParentNode;
|
||||
if (dom && dom.parentNode && dom.parentNode.nodeType !== 11) {
|
||||
domParentNode = dom.parentNode
|
||||
domParentNode = dom.parentNode;
|
||||
} else {
|
||||
domParentNode = document.body;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user