packages/cdp-mobile/dist/cdp.js
function() {
            var offset = this.element.offset(),
                scrollTop = this.window.scrollTop(),
                screenHeight = $.mobile.getScreenHeight();

            if ( offset.top < scrollTop || ( offset.top - scrollTop ) > screenHeight ) {
                this.element.addClass( "ui-loader-fakefix" );
                this.fakeFixLoader();
                this.window
                    .unbind( "scroll", this.checkLoaderPosition )
                    .bind( "scroll", $.proxy( this.fakeFixLoader, this ) );
            }
        }
function() {
            var offset = this.element.offset(),
                scrollTop = this.window.scrollTop(),
                screenHeight = $.mobile.getScreenHeight();

            if ( offset.top < scrollTop || ( offset.top - scrollTop ) > screenHeight ) {
                this.element.addClass( "ui-loader-fakefix" );
                this.fakeFixLoader();
                this.window
                    .unbind( "scroll", this.checkLoaderPosition )
                    .bind( "scroll", $.proxy( this.fakeFixLoader, this ) );
            }
        }
function ( ) { var offset = this . element . offset ( ) , scrollTop = this . window . scrollTop ( ) , screenHeight = $ . mobile . getScreenHeight ( ) ; if ( offset . top < scrollTop || ( offset . top - scrollTop ) > screenHeight ) { this . element . addClass ( "ui-loader-fakefix" ) ; this . fakeFixLoader ( ) ; this . window . unbind ( "scroll" , this . checkLoaderPosition ) . bind ( "scroll" , $ . proxy ( this . fakeFixLoader , this ) ) ; } }
check position of loader to see if it appears to be "fixed" to center if not, use abs positioning
check position of loader to see if it appears to be fixed to center if not use abs positioning