aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/tidypics.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/tidypics.php')
-rw-r--r--views/default/js/tidypics.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/js/tidypics.php b/views/default/js/tidypics.php
index c3520842a..ec2c5dd98 100644
--- a/views/default/js/tidypics.php
+++ b/views/default/js/tidypics.php
@@ -83,6 +83,10 @@
function appendTag(offset, tag)
{
+ // catch for IE when no tags available
+ if (tag.id == undefined)
+ return;
+
tag_top = parseInt(imgOffset.top) + parseInt(tag.y1);
tag_left = parseInt(imgOffset.left) + parseInt(tag.x1);