summaryrefslogtreecommitdiff
path: root/modules/tag/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-26 05:08:43 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-26 05:08:43 +0000
commit03bf3a6af26a5311ab0411616911c443332a8821 (patch)
treee8b6b0f093c2cb721f55268b78a5f9b87cb27446 /modules/tag/js
parent9c60566197a1edeb1c7d758886c8d518b5b99388 (diff)
Remove the more or less links
Diffstat (limited to 'modules/tag/js')
-rw-r--r--modules/tag/js/tag.js24
1 files changed, 0 insertions, 24 deletions
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"));
- });
- });
-}