diff --git a/server/files/javascript/semantic.js b/server/files/javascript/semantic.js index ac718484b..a7529eaef 100755 --- a/server/files/javascript/semantic.js +++ b/server/files/javascript/semantic.js @@ -308,7 +308,7 @@ semantic.ready = function() { ; } - if( $example.find('.ace_editor').size() === 0) { + if( $annotation.find('.ace_editor').size() === 0) { $code = $('
') .data('type', 'html') .addClass('code') @@ -460,14 +460,14 @@ semantic.ready = function() { // add label if(title) { $('