disable ctx when modal

toast
Kit Kasune 3 years ago
parent 3b81cc7929
commit 2bd5e5c2f3
  1. 1
      scripts/contextmenu/createcontext.js

@ -1,4 +1,5 @@
module.exports = (e, target, window) => { module.exports = (e, target, window) => {
if (window.kade.modal) {return;}
window.kade.context = true; window.kade.context = true;
let ctx = document.getElementById('ctx'); let ctx = document.getElementById('ctx');
ctx.style.display = 'block'; ctx.style.display = 'block';

Loading…
Cancel
Save