🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ep_comments_page

Package Overview
Dependencies
Maintainers
0
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

to
1.0.37

4

package.json
{
"description": "Adds comments on sidebar and link it to the text. For no-skin use ep_page_view.",
"name": "ep_comments_page",
"version": "1.0.36",
"version": "1.0.37",
"author": {

@@ -32,3 +32,3 @@ "name": "Nicolas Lescop",

"eslint-config-etherpad": "^4.0.4",
"socket.io-client": "^4.7.5",
"socket.io-client": "*",
"superagent": "^8.1.2",

@@ -35,0 +35,0 @@ "typescript": "^5.4.2"

@@ -22,2 +22,4 @@ 'use strict';

const Security = require('ep_etherpad-lite/static/js/security');
// eslint-disable-next-line no-redeclare
const io = require('socket.io-client');

@@ -793,3 +795,8 @@ const cssFiles = [

EpComments.prototype.deleteComment = function (commentId) {
$('iframe[name="ace_outer"]').contents().find(`#${commentId}`).remove();
while($('iframe[name="ace_outer"]').contents().find(`#${commentId}`).length > 0){
$('iframe[name="ace_outer"]').contents().find(`#${commentId}`).remove();
}
while($('iframe[name="ace_outer"]').contents().find(`#icon-${commentId}`).length > 0){
$('iframe[name="ace_outer"]').contents().find(`#icon-${commentId}`).remove();
}
};

@@ -796,0 +803,0 @@