From 03bf3a6af26a5311ab0411616911c443332a8821 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 26 Nov 2008 05:08:43 +0000 Subject: Remove the more or less links --- modules/tag/js/tag.js | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 modules/tag/js/tag.js (limited to 'modules/tag/js') diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js deleted file mode 100644 index 6157b81b..00000000 --- a/modules/tag/js/tag.js +++ /dev/null @@ -1,24 +0,0 @@ -$("document").ready(function() { - $("#gTagLess").click(function(event){ - event.preventDefault(); - get_tag_block($("#gTagLess").attr("href")); - }); - $("#gTagMore").click(function(event){ - event.preventDefault(); - get_tag_block($("#gTagMore").attr("href")); - }); -}); - -function get_tag_block(url) { - $.get(url, function(data) { - $('#gTag').html(data); - $("#gTagLess").click(function(event){ - event.preventDefault(); - get_tag_block($("#gTagLess").attr("href")); - }); - $("#gTagMore").click(function(event){ - event.preventDefault(); - get_tag_block($("#gTagMore").attr("href")); - }); - }); -} -- cgit v1.2.3