js/theia-sticky-sidebar.js
function tryInitOrHookIntoEvents(options, $that) {
            var success = tryInit(options, $that);

            if (!success) {
                console.log('TSS: Body width smaller than options.minWidth. Init is delayed.');

                $(document).on('scroll.' + options.namespace, function (options, $that) {
                    return function (evt) {
                        var success = tryInit(options, $that);

                        if (success) {
                            $(this).unbind(evt);
                        }
                    };
                }(options, $that));
                $(window).on('resize.' + options.namespace, function (options, $that) {
                    return function (evt) {
                        var success = tryInit(options, $that);

                        if (success) {
                            $(this).unbind(evt);
                        }
                    };
                }(options, $that))
            }
        }
function tryInitOrHookIntoEvents(options, $that) {
            var success = tryInit(options, $that);

            if (!success) {
                console.log('TSS: Body width smaller than options.minWidth. Init is delayed.');

                $(document).on('scroll.' + options.namespace, function (options, $that) {
                    return function (evt) {
                        var success = tryInit(options, $that);

                        if (success) {
                            $(this).unbind(evt);
                        }
                    };
                }(options, $that));
                $(window).on('resize.' + options.namespace, function (options, $that) {
                    return function (evt) {
                        var success = tryInit(options, $that);

                        if (success) {
                            $(this).unbind(evt);
                        }
                    };
                }(options, $that))
            }
        }
function tryInitOrHookIntoEvents ( options , $that ) { var success = tryInit ( options , $that ) ; if ( ! success ) { console . log ( 'TSS: Body width smaller than options.minWidth. Init is delayed.' ) ; $ ( document ) . on ( 'scroll.' + options . namespace , function ( options , $that ) { return function ( evt ) { var success = tryInit ( options , $that ) ; if ( success ) { $ ( this ) . unbind ( evt ) ; } } ; } ( options , $that ) ) ; $ ( window ) . on ( 'resize.' + options . namespace , function ( options , $that ) { return function ( evt ) { var success = tryInit ( options , $that ) ; if ( success ) { $ ( this ) . unbind ( evt ) ; } } ; } ( options , $that ) ) } }
Try doing init, otherwise hook into window.resize and document.scroll and try again then.
Try doing init otherwise hook into window . resize and document . scroll and try again then .