function deleteModal() { 
    var modal = document.getElementById("deleteModal");

    $('.js-delete-tasks').click(function(){
        modal.style.display = "block";
    })

    $('.js-cancelReset, .js-closeDelModal').click(function() {
        modal.style.display = "none";
    })
   
    window.onclick = function(event) {
        if (event.target == modal) {
            modal.style.display = "none";
        }
    }
   }
/**
    * show modal for delete
    * @function deleteModal
    * @memberof popupjs
    */
show modal for delete
@function deleteModal
@memberof popupjs
show modal for delete @function deleteModal @memberof popupjs
function deleteModal() { 
    var modal = document.getElementById("deleteModal");
    $('.js-delete-tasks').click(function(){
        modal.style.display = "block";
    })
    $('.js-cancelReset, .js-closeDelModal').click(function() {
        modal.style.display = "none";
    })
    window.onclick = function(event) {
        if (event.target == modal) {
            modal.style.display = "none";
        }
    }
   }
function deleteModal ( ) { var modal = document . getElementById ( "deleteModal" ) ; $ ( '.js-delete-tasks' ) . click ( function ( ) { modal . style . display = "block" ; } ) $ ( '.js-cancelReset, .js-closeDelModal' ) . click ( function ( ) { modal . style . display = "none" ; } ) window . onclick = function ( event ) { if ( event . target == modal ) { modal . style . display = "none" ; } } }
show modal for delete
 @function deleteModal
 @memberof popupjs
show modal for delete @function deleteModal @memberof popupjs