|
|
@ -50,7 +50,7 @@ module.exports = (event, items) => { |
|
|
|
container.style.left = event.pageX + 'px' |
|
|
|
container.style.left = event.pageX + 'px' |
|
|
|
container.style.top = event.pageY + 'px' |
|
|
|
container.style.top = event.pageY + 'px' |
|
|
|
container.style.display = 'block' |
|
|
|
container.style.display = 'block' |
|
|
|
|
|
|
|
|
|
|
|
document.querySelector('body').appendChild(container) |
|
|
|
document.querySelector('body').appendChild(container) |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
window.addEventListener('click', hide) |
|
|
|
window.addEventListener('click', hide) |
|
|
|