Some function not working properly on sub domain


#1

I am getting some problem with sub domain on local and server both.
Main domain is working fine but in sub domain some functions work and do not work sometimes at client side like while creating new.


imageFileBrowseIcon(event) {
        event.preventDefault();
        $('#image-file-input').click();       // BY THIS BELOW FUNCTION IS CALL
        console.log("click on button")      // THIS CONSOLE APPERS THATS MEAN THIS FUNCTION CALLS SUCCESSFULLY
}

imageFileInput(event) {
        event.preventDefault();
        console.log("input name function")      // THIS CONSOLE DOES NOT APPER THATS MEAN THIS FUNCTION DEOS NOT CALL SUCCESSFULLY
        $('#image-file-name').val(' ' + event.target.files[0].name);

        this.checkDesignComplete();
}