The mousedown mouseup event cannot be triggered

can be triggered on other pages, but it cannot be triggered in this interface. The effect is to click on the picture to enter the corresponding video. The above two titles can be clicked, but the following cannot trigger

.

clipboard.png

related codes

function tabLoad (obj,oJson) {

    var This=this;  //
    var oDir=oJson.dir?oJson.dir:"y";
    var oPrevent=oJson.prevent!="undefinde"?oJson.prevent:true;
    console.log(oJson);
    if(!oJson.prevent){

    document.addEventListener("mousedown",function(e){e.preventDefault();},false);
    
    document.addEventListener("mousemove",function(e){e.preventDefault();},false);
    
    
    document.addEventListener("mouseup",function(e){e.preventDefault();},false);    
    
    }
    this.target=oJson.flag?oJson.flag:false;
    this.link=oJson.link;   //
    this.aLink=oJson.data;  //
    this.oGetMessage=this.getWindow();
    this.oParent=document.querySelector(obj);
    this.oClassFinc=this.oParent.querySelector(".classIfication");
    this.aLi=this.oParent.querySelectorAll("li");
    this.oIndex=oJson.add?oJson.add:0;//
    this.oVideo=this.oParent.querySelector(".All_video");
    this.oSwiper=this.oParent.querySelector(".swiper_video");
    this.aJieS=this.oParent.querySelectorAll(".jiepan_swiper");
    this.oJp=this.oParent.querySelectorAll(".jiepan");
    this.oWidth=this.oJp[0].offsetWidth;
    this.oSwiper.style.width=this.oWidth*this.oJp.length+"px";
    this.oSwiper.style.transform="translateX(-"+this.oIndex*this.oJp.length+"px)";
    //
    this.oFn=oDir=="y"?"offsetHeight":"offsetWidth";
    this.oPage=oDir=="y"?"pageY":"pageX";
    this.dir=oDir=="y"?"Y":"X";
    this.oTran=oDir=="y"?"translateY":"translateX";
    
    this.setHeight();//
    window.onresize=function(){   //
        This.oGetMessage=This.getWindow();
        This.setHeight();
    };
    for(var i=0;i<this.aLi.length;iPP){
        (function(index){
            This.aJieS[i].style.cssText="";
            This.aJieS[i].dataset.translateX=0;
            This.aJieS[i].dataset.translateY=0;
            This.aJieS[i].indexs=0;
            This.aJieS[i].index=index;
            This.aJieS[i].innerHTML="";
            This.aJieS[i].Loding=false;
            This.aLi[i].flag=true;
            This.aLi[i].className="";
            if(!This.aLi[i].addEvent){
                This.aLi[i].addEventListener("mouseup",This.iOpen.bind(This,index),false);
                This.aLi[i].addEvent=true;
            }
        }(i))
    };
    this.iOpen(this.oIndex);//
    
};

this was originally a mobile app, improving to the pc side. Debugging found that it could not be triggered when it came to the mousedowm event. It is useless to click on it. Solve

Jul.14,2021

look at your code and see if it is return or undefined . According to normal, you can click above, but you can't click below, so you can rule out the mousedown event. In addition, there is no problem with this monitoring event. Rule out the logic of the code context.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d197-2c35b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d197-2c35b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?