From fa20c57f863f6758aadeceb6e8704a1b100564c4 Mon Sep 17 00:00:00 2001 From: Modder4869 <28317935+Modder4869@users.noreply.github.com> Date: Sun, 29 Jul 2018 21:00:53 +0300 Subject: [PATCH] Update dblClickEdit.plugin.js --- Plugins/dblClickEdit.plugin.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Plugins/dblClickEdit.plugin.js b/Plugins/dblClickEdit.plugin.js index feb8a2f..835d40f 100644 --- a/Plugins/dblClickEdit.plugin.js +++ b/Plugins/dblClickEdit.plugin.js @@ -9,12 +9,12 @@ dblClickEdit.prototype.onSwitch = function () { dblClickEdit.prototype.start = function () { $(document).on("dblclick.dce", function(e) { var target = $(e.target); - if(target.parents(".message").length > 0) { - var msg = target.parents(".message").first(); - var opt = msg.find(".btn-option"); + if(target.parents(".message-1PNnaP").length > 0) { + var msg = target.parents(".message-1PNnaP").first(); + var opt = msg.find(".button-3Jq0g9"); opt.click(); - $.each($(".popout-3sVMXz .button-1ZXqCA"), (index, value) => { + $.each($(".popout-3sVMXz .button-38aScr"), (index, value) => { var option = $(value); if(option.text() === "Edit") { option.click(); @@ -43,7 +43,7 @@ dblClickEdit.prototype.getDescription = function () { return "Double click messages to edit them"; }; dblClickEdit.prototype.getVersion = function () { - return "0.1.1"; + return "0.1.2"; }; dblClickEdit.prototype.getAuthor = function () { return "Jiiks";