Commit 0f44ea26b60d69672cb2383469ab2cb77084cda4

  • avatar
  • arvind
  • Wed Jul 10 18:03:53 IST 2013
Fix a syntax error
  • 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 len = $(event.currentTarget).text().split('#').len();
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 else58 else