diff --git a/public/js/main_0.0.3.js b/public/js/main_0.0.3.js index 10eede5075..812fe65bb3 100644 --- a/public/js/main_0.0.3.js +++ b/public/js/main_0.0.3.js @@ -5,7 +5,7 @@ $(document).ready(function() { } $(document).ready(function() { - if ($('#reset-button').html() != undefined) { + if (typeof editor !== 'undefined') { $('#reset-button').on('click', resetEditor); } });