remove unnecessary doc ready
This commit is contained in:
@ -4,11 +4,9 @@ $(document).ready(function() {
|
|||||||
ga('send', 'event', 'Challenge', 'load', challengeName);
|
ga('send', 'event', 'Challenge', 'load', challengeName);
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function() {
|
if (typeof editor !== 'undefined') {
|
||||||
if (typeof editor !== 'undefined') {
|
$('#reset-button').on('click', resetEditor);
|
||||||
$('#reset-button').on('click', resetEditor);
|
}
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
var CSRF_HEADER = 'X-CSRF-Token';
|
var CSRF_HEADER = 'X-CSRF-Token';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user