Skip to content

Commit

Permalink
fix resultant javascript error on certain pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quincy Larson committed Jul 31, 2015
1 parent 2547868 commit a023060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/main_0.0.3.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $(document).ready(function() {
}

$(document).ready(function() {
if ($('#reset-button').html() != undefined) {
if (typeof editor !== 'undefined') {
$('#reset-button').on('click', resetEditor);
}
});
Expand Down

0 comments on commit a023060

Please sign in to comment.