dismiss-citation-popup-ontouchend

This commit is contained in:
Sam Liu
2017-03-22 12:16:36 -04:00
parent f2cbc9ead4
commit bf0cefac67
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -81,6 +81,11 @@ DistillHoverBox.bind = function bind(node, key) {
DistillHoverBox.liveBoxes[key].extendTimeout(250);
}
});
node.addEventListener("touchend", () => {
if (key in DistillHoverBox.liveBoxes){
DistillHoverBox.liveBoxes[key].extendTimeout(250);
}
});
}