vikramjitsaha / biojs

Automatically exported from code.google.com/p/biojs
0 stars 0 forks source link

Two Sequence components on the same page will have duplicate IDs. #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Sequence component creates elements with its own IDs, such as

<span class=​"sequence" id=​"8" style=​"cursor:​ 
pointer;​">​D​</span>​

The problem is that if I have multiple Sequence components on the same page, I 
will have multiple elements with duplicate IDs and some things go wrong.

For example, due to this problem I am unable to display annotations in all but 
the first Sequence component.

Original issue reported on code.google.com by pur...@gmail.com on 19 Apr 2013 at 3:51