Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unnecessary logging

  • Loading branch information...
commit d6187198fcb17f142e289d6b3b3887709c2cee6c 1 parent a720aae
Antti Mattila authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 script.js
View
4 script.js
@@ -1301,15 +1301,13 @@
var ready = function() {
var nextSentence = function(e) {
- console.log(e);
var rand = Math.floor(Math.random() * len);
document.getElementById("sentence").innerHTML = sentences[rand] + ".";
e.preventDefault();
- return false;
};
document.getElementById("next").addEventListener("click", nextSentence, false);
};
window.addEventListener('load', ready);
-})();
+})();
Please sign in to comment.
Something went wrong with that request. Please try again.