fix postModal body styling

toast
Kit Kasune 3 years ago
parent 837a7182d6
commit 1a056659de
  1. 2
      scripts/modal/post.js

@ -3,6 +3,6 @@ const transit = require("./transit");
module.exports = (id) => { module.exports = (id) => {
document.getElementById('modal-block').remove(); document.getElementById('modal-block').remove();
window.kade.modal = false; window.kade.modal = false;
document.body.style.overflow = 'auto'; document.body.style.overflowY = 'overlay';
transit(id, false); transit(id, false);
}; };
Loading…
Cancel
Save