Commit 2c468781 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove loading animation after loading done.

Improves performance a bit, as otherwise browser will keep animating
the invisible gif on the background.
parent 4dad0e06
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -46,6 +46,10 @@ Ext.define('Docs.Application', {
            Docs.initEventTracking();
        }

        // Remove loading animated gif from background.
        // Keeping it there will degrade performance.
        Ext.get("loading").remove();

        // setInterval(function(){
        //     Ext.DomQuery.select('link')[2].href = "resources/css/viewport.css?" + Math.ceil(Math.random() * 100000000)
        // }, 1000);