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