Skip to content

Sometimes plugin will not load resources #123

@julkue

Description

@julkue

Hi,

I often get the following result when I try to view my webapplication via the "file:///" protocol (windows):
0percentage
I don't know if it is a problem of the protocol, but however I need to fix this.
I call the plugin like:

(function(global) {
    var VRSFramework  = function(){

        /**
         * Inits the component
         */
        function init(){

        }

        // Preload resources and call init function
        $(function () {
            $("body").queryLoader2({
                barColor : "#efefef",
                backgroundColor : "#111",
                percentage : true,
                barHeight : 1,
                minimumTime : 200,
                fadeOutTime : 500,
                onComplete: function(){
                    init();
                }
            });
        });

        return this;
    };
    var tmpVRSFramework = new VRSFramework();
})(this);

I already tried to remove all CSS (background-images also), but that will not solve the problem. What can I do to debug this issue? Or what could be the problem?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions