We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c94b66 + 79c72b0 commit 23d51caCopy full SHA for 23d51ca
_templates/_page_openshift.html.erb
@@ -794,16 +794,12 @@
794
<!-- hide footer after 3 seconds -->
795
<script type="text/javascript">
796
const hideFooter = () => {
797
- document.querySelector('footer').style.display = "none";
798
- };
799
-
800
- window.addEventListener('scroll', function() {
801
- if (window.innerHeight + window.scrollY >= document.body.offsetHeight) {
802
- setTimeout(hideFooter, 3000);
803
- } else {
804
- document.querySelector('footer').style.display = "block";
805
- }
806
- })
+ document.querySelector('footer#rh').style.display = "none";
+ };
+
+ window.addEventListener('load', function() {
+ setTimeout(hideFooter, 3000);
+ });
807
</script>
808
</body>
809
</html>
0 commit comments