Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ep_comments_page

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_comments_page - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

2

package.json
{
"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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc