diff options
Diffstat (limited to 'includes/components/footer.inc')
-rw-r--r-- | includes/components/footer.inc | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/includes/components/footer.inc b/includes/components/footer.inc deleted file mode 100644 index 00d74aa..0000000 --- a/includes/components/footer.inc +++ /dev/null @@ -1,30 +0,0 @@ -<?php -global $start; -$GLOBALS["ColdHazePerformance"]["page"] = (microtime(true) - $start) * 1000; -$start = microtime(true); - -?> - -<script src="/assets/editor/ua-parser.js"></script> -<br><br></main> - -<script> - let tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) - let tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); - - if (document.createElement("canvas").getContext("webgl") === null) { - let style = document.createElement("style"); - style.innerText = "* { backdrop-filter: none !important; }"; - document.head.appendChild(style); - try { document.getElementById("gpuWarning").style.display = ""; } catch (e) {} - } -</script> - -<?php if (isset($_GET["performance"])): ?> -<pre><?php $GLOBALS["ColdHazePerformance"]["footer"] = (microtime(true) - $start) * 1000; var_dump($GLOBALS["ColdHazePerformance"]); ?></pre> -<?php endif; ?> - -</body> -</html> |