removed loader animation - it was causing issues with initial focus on the tree (probably by stealing focus)

This commit is contained in:
azivner
2018-01-02 22:01:38 -05:00
parent e32289720c
commit b545100cad
6 changed files with 8 additions and 40 deletions

View File

@@ -155,27 +155,6 @@ $(document).tooltip({
}
});
let appShown = false;
function showAppIfHidden() {
if (!appShown) {
appShown = true;
$("#container").show();
// Get a reference to the loader's div
const loaderDiv = document.getElementById("loader-wrapper");
// When the transition ends remove loader's div from display
// so that we can access the map with gestures or clicks
loaderDiv.addEventListener("transitionend", function(){
loaderDiv.style.display = "none";
}, true);
// Kick off the CSS transition
loaderDiv.style.opacity = 0.0;
}
}
window.onerror = function (msg, url, lineNo, columnNo, error) {
const string = msg.toLowerCase();