JavedA commited on
Commit
f4f6649
1 Parent(s): f27391d

loader looks much better now - stil not pefect, but very nice alrady

Browse files
Files changed (1) hide show
  1. index.qmd +7 -1
index.qmd CHANGED
@@ -53,7 +53,13 @@ window.addEventListener("load", function() {
53
  // hide riksha and show iframe when iframe content has loaded
54
  iframe.addEventListener("load", function() {
55
  console.log("iframe has loaded");
56
- hide_Riksha();
 
 
 
 
 
 
57
  });
58
  });
59
  </script>
 
53
  // hide riksha and show iframe when iframe content has loaded
54
  iframe.addEventListener("load", function() {
55
  console.log("iframe has loaded");
56
+
57
+ setTimeout(function() {
58
+ // code to be executed after 2.3 seconds
59
+ hide_Riksha();
60
+
61
+ }, 3300);
62
+
63
  });
64
  });
65
  </script>