From 5a6e253014174d3617496e135c51e75f3e512257 Mon Sep 17 00:00:00 2001 From: artem Date: Tue, 22 Oct 2019 10:13:08 +0300 Subject: [PATCH] fix menu --- blockvkbot.user.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/blockvkbot.user.js b/blockvkbot.user.js index 003b9cd..bdf2eef 100644 --- a/blockvkbot.user.js +++ b/blockvkbot.user.js @@ -35,7 +35,15 @@ var peaple = JSON.stringify({ $(".hideBlackList").click(); location.reload(); return false; - }); + }); + $(".hideBlackList").unbind().on('click', function() { + $(this).closest(".blackListGened").fadeOut(500); + $(this).unbind(); + $(".removeBlackList").unbind(); + $(this).closest(".blackListGened").remove(); + return false; + }); + }, "13"); var timerId = setInterval(function() { if (typeof $ !=="function"){ var script = document.createElement("script");