{"version":3,"names":[],"mappings":"","sources":["terminology.js"],"sourcesContent":["(function($) {\n Drupal.behaviors.terms = {\n attach: function (context, settings) {\n $('a.term-trigger').click(function(e) {\n e.preventDefault(); \n $(this).closest('.term').toggleClass('is-open');\n $(this).parent('h4').next().toggle();\n });\n\n \n $('ul.alphabet11 li a').click(function(e) {\n e.preventDefault();\n var targetDiv = $(this).attr('href');\n /*\n $('html, body').animate({\n scrollTop: $(targetDiv).offset().top - 100\n }, 300, 'easeInOutQuint');\n */\n /*\n $('html, body').animate({\n scrollTop: $(targetDiv).offset().top - 100\n });\n */\n\n // focus on fist term\n $(targetDiv).next().find('h4 > a').focus(); \n\n });\n }\n };\n})(jQuery);\n"],"file":"../terminology.js"}