ep_comments_page
Advanced tools
Comparing version 0.0.23 to 0.0.24
{ | ||
"description": "Adds comments on sidebar and link it to the text. Support for Page View, requires ep_page_view", | ||
"name": "ep_comments_page", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Nicolas Lescop", |
@@ -993,7 +993,6 @@ var _, $, jQuery; | ||
// span not be the div so we have to go to parents until we find a div | ||
var parentDiv = $(span).parent("div"); | ||
var parentDiv = $(span).closest("div"); | ||
// line Number is obviously relative to entire document | ||
// So find out how many elements before in this parent? | ||
var lineNumber = $(parentDiv).prevAll("div").length; | ||
// We can set beginning of rep Y (lineNumber) | ||
@@ -1000,0 +999,0 @@ rep[0][0] = lineNumber; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package