Skip to content

Commit

Permalink
pop up balloon works -- chrome work out is universal
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonu Lall committed Jan 20, 2011
1 parent 587d6c2 commit d8f5ca1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Bio/Graphics/Browser2/RenderPanels.pm
Expand Up @@ -430,7 +430,7 @@ sub wrap_rendered_track {
# Work around bug in google chrome which is manifested by the <area> link information
# on all EVEN reloads of the element by ajax calls. Weird.
my $agent = CGI->user_agent || '';
$map_id .= "_".int(rand(1000)) if $agent =~ /chrome/i;
$map_id .= "_".int(rand(1000)) ;#if $agent =~ /chrome/i || $agent=~ /safari/i;

my $img = img(
{ -src => $url,
Expand All @@ -441,6 +441,7 @@ sub wrap_rendered_track {
-border => 0,
-name => $label,
-style => $img_style

}
);

Expand Down

0 comments on commit d8f5ca1

Please sign in to comment.