Permalink
Browse files

Removed unnecessary logging

  • Loading branch information...
1 parent a720aae commit d6187198fcb17f142e289d6b3b3887709c2cee6c Antti Mattila committed Mar 7, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 script.js
View
@@ -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);
-})();
+})();

0 comments on commit d618719

Please sign in to comment.