diff -r 2f15d59e65ef -r d7aecea73e6d integration/v2/js/main.js --- a/integration/v2/js/main.js Fri Jun 21 14:52:50 2013 +0200 +++ b/integration/v2/js/main.js Fri Jun 21 15:06:51 2013 +0200 @@ -1,4 +1,11 @@ $(function(){ +//filters + $('.filters a').each(function(){ + var text = $.trim($(this).text()); + if(text.length > 30){ + $(this).text(text.substr(0, 30) + '...') + } + }); //masonry var masonry465 = $('.masonry-465'); masonry465.masonry({ @@ -44,12 +51,6 @@ keywordsTagIt.tagit("createTag", tag); }); } -//filters - $('.filters a').each(function(){ - var text = $.trim($(this).text()); - if(text.length > 30){ - $(this).text(text.substr(0, 30) + '...') - } - }) + });//ready