function edgtfOnDocumentReady() {
        edgtf.scroll = $(window).scrollTop();

        //set global variable for header style which we will use in various functions
        if (edgtf.body.hasClass('edgtf-dark-header')) {
            edgtf.defaultHeaderStyle = 'edgtf-dark-header';
        }
        if (edgtf.body.hasClass('edgtf-light-header')) {
            edgtf.defaultHeaderStyle = 'edgtf-light-header';
        }
    }
/* 
     All functions to be called on $(document).ready() should be in this function
     */
All functions to be called on $(document).ready() should be in this function
All functions to be called on $ ( document ) . ready () should be in this function
function edgtfOnDocumentReady() {
        edgtf.scroll = $(window).scrollTop();
        if (edgtf.body.hasClass('edgtf-dark-header')) {
            edgtf.defaultHeaderStyle = 'edgtf-dark-header';
        }
        if (edgtf.body.hasClass('edgtf-light-header')) {
            edgtf.defaultHeaderStyle = 'edgtf-light-header';
        }
    }
function edgtfOnDocumentReady ( ) { edgtf . scroll = $ ( window ) . scrollTop ( ) ; if ( edgtf . body . hasClass ( 'edgtf-dark-header' ) ) { edgtf . defaultHeaderStyle = 'edgtf-dark-header' ; } if ( edgtf . body . hasClass ( 'edgtf-light-header' ) ) { edgtf . defaultHeaderStyle = 'edgtf-light-header' ; } }
All functions to be called on $(document).ready() should be in this function
All functions to be called on $ ( document ) . ready () should be in this function
//set global variable for header style which we will use in various functions