fix resultant javascript error on certain pages
parent
2547868854
commit
a0230609f5
|
@ -5,7 +5,7 @@ $(document).ready(function() {
|
|||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
if ($('#reset-button').html() != undefined) {
|
||||
if (typeof editor !== 'undefined') {
|
||||
$('#reset-button').on('click', resetEditor);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue