remove unnecessary doc ready

pull/3345/head
Berkeley Martinez 2015-09-17 00:08:08 -07:00
parent 38d76ec3bb
commit 1418669757
1 changed files with 3 additions and 5 deletions

View File

@ -4,11 +4,9 @@ $(document).ready(function() {
ga('send', 'event', 'Challenge', 'load', challengeName);
}
$(document).ready(function() {
if (typeof editor !== 'undefined') {
$('#reset-button').on('click', resetEditor);
}
});
var CSRF_HEADER = 'X-CSRF-Token';