Skip to content

Commit

Permalink
remove now unnecessary jquery functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Quincy Larson committed Aug 22, 2015
1 parent 33418cc commit e905029
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions public/js/main_0.0.3.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,20 +242,6 @@ $(document).ready(function() {
window.location = '/challenges/' + (parseInt(l[l.length - 1]) + 1);
});

// Bonfire instructions functions
$('#more-info').unbind('click');
$('#more-info').on('click', function() {
ga('send', 'event', 'Challenge', 'more-info', challengeName);
$('#brief-instructions').hide();
$('#long-instructions').show().removeClass('hide');

});
$('#less-info').unbind('click');
$('#less-info').on('click', function() {
$('#brief-instructions').show();
$('#long-instructions').hide();
});

$('#complete-courseware-dialog').on('hidden.bs.modal', function() {
editor.focus();
});
Expand Down

0 comments on commit e905029

Please sign in to comment.