changeset 5 | 86ddb444d0a9 |
parent 2 | de33539c2db2 |
child 27 | ad5f7192d437 |
--- a/src/pyams_thesaurus/zmi/resources/js/pyams_thesaurus.js Wed May 20 12:37:53 2015 +0200 +++ b/src/pyams_thesaurus/zmi/resources/js/pyams_thesaurus.js Wed Jun 17 10:01:07 2015 +0200 @@ -113,6 +113,7 @@ var element = $('span.term:withtext("' + data.term + '")').parents('span.label'); $('html,body').animate({scrollTop: element.offset().top - 100}, 1000); element.css('background-color', 'darkgreen') + .off('mouseover') .on('mouseover', function() { $(this).css('background-color', ''); })