Skip to content

Commit

Permalink
Removed unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Antti Mattila committed Mar 7, 2012
1 parent a720aae commit d618719
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions script.js
Expand Up @@ -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.