Commit 0f44ea26b60d69672cb2383469ab2cb77084cda4
- Diff rendering mode:
- inline
- side by side
static/text-annotation.js
52 | }); | 52 | }); |
---|---|---|---|
53 | $('.well a').click(function(event){ | 53 | $('.well a').click(function(event){ |
54 | if($(event.currentTarget).text().search('#')){ | 54 | if($(event.currentTarget).text().search('#')){ |
55 | 55 | len = $(event.currentTarget).text().split('#').length; | |
56 | xpath = $(event.currentTarget).text().split('#')[len-1]; | 56 | xpath = $(event.currentTarget).text().split('#')[len-1]; |
57 | } | 57 | } |
58 | else | 58 | else |