integration/v2/js/main.js
changeset 133 d7aecea73e6d
parent 132 2f15d59e65ef
child 138 f694df1f57a6
--- 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