Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make credits work on WebKit browsers.

  • Loading branch information...
commit c5a47fef7b9edbf97ad7459f1877cc6b36512527 1 parent e8d49a9
@samth authored committed
Showing with 5 additions and 4 deletions.
  1. +5 −4 assets/src.js
View
9 assets/src.js
@@ -2,9 +2,10 @@ window.onload =
function() {
var footer1 = document.getElementById("credits");
var footer2 = document.getElementById("creditsfull");
-
- footer1.addEventListener("mouseenter", function() {
+ var cb = function() {
footer1.style.display = "none";
footer2.style.display = "inline";
- })
- };
+ footer1.removeEventListener("mouseover", cb);
+ };
+ footer1.addEventListener("mouseover", cb);
+ };
Please sign in to comment.
Something went wrong with that request. Please try again.