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.
1 parent 1707bd5 commit 79c72b0Copy full SHA for 79c72b0
_templates/_page_openshift.html.erb
@@ -792,16 +792,12 @@
792
<!-- hide footer after 3 seconds -->
793
<script type="text/javascript">
794
const hideFooter = () => {
795
- document.querySelector('footer').style.display = "none";
796
- };
797
-
798
- window.addEventListener('scroll', function() {
799
- if (window.innerHeight + window.scrollY >= document.body.offsetHeight) {
800
- setTimeout(hideFooter, 3000);
801
- } else {
802
- document.querySelector('footer').style.display = "block";
803
- }
804
- })
+ document.querySelector('footer#rh').style.display = "none";
+ };
+
+ window.addEventListener('load', function() {
+ setTimeout(hideFooter, 3000);
+ });
805
</script>
806
</body>
807
</html>
0 commit comments