diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-05-19 11:47:10 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-05-19 11:47:10 +0000 |
commit | c07d96b6307bf29b33ea84177be841779e139f62 (patch) | |
tree | 392dd622e0617c96dba821c5c30bbb0042c00df9 /views/default/js | |
parent | 8f53a8a14634260a9c188b8ca8cefd8c671bf6c5 (diff) | |
download | elgg-c07d96b6307bf29b33ea84177be841779e139f62.tar.gz elgg-c07d96b6307bf29b33ea84177be841779e139f62.tar.bz2 |
improved tag text display
Diffstat (limited to 'views/default/js')
-rw-r--r-- | views/default/js/tagging.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/js/tagging.php b/views/default/js/tagging.php index 323c2bf57..f7e764194 100644 --- a/views/default/js/tagging.php +++ b/views/default/js/tagging.php @@ -92,7 +92,9 @@ tag_div = $('<div class="tidypics_tag" id="tag'+tag.id+'"></div>').css({ left: tag_left + 'px', top: tag_top + 'px', width: tag.width + 'px', height: tag.height + 'px' });
- tag_text_div = $('<div class="tidypics_tag_text">'+tag.text+'</div>').css({ left: tag_left + 'px', top: tag_top + 'px', width: tag.width + 'px', height: 20 + 'px' });
+ text_top = parseInt(tag_top) + parseInt(tag.height) + 5;
+
+ tag_text_div = $('<div class="tidypics_tag_text">'+tag.text+'</div>').css({ left: tag_left + 'px', top: text_top + 'px', width: '120px'});
$('body').append(tag_div);
$('body').append(tag_text_div);
|