diff --git a/rosetta/templates/rosetta/js/rosetta.js b/rosetta/templates/rosetta/js/rosetta.js index 17978f1..00928c9 100644 --- a/rosetta/templates/rosetta/js/rosetta.js +++ b/rosetta/templates/rosetta/js/rosetta.js @@ -90,7 +90,7 @@ google.setOnLoadCallback(function() { if($(this).val()) { $('.alert', $(this).parents('tr')).remove(); var RX = /%(?:\([^\s\)]*\))?[sdf]|\{[\w\d_]+?\}/g, - origs=$('.original', $(this).parents('tr')).html().match(RX), + origs=$(this).parents('tr').find('.original>.message').html().match(RX), trads=$(this).val().match(RX), error = $('Unmatched variables'); if (origs && trads) {