diff --git a/plugins/Sidebar/media/Sidebar.coffee b/plugins/Sidebar/media/Sidebar.coffee index 037b921c..74601c1d 100644 --- a/plugins/Sidebar/media/Sidebar.coffee +++ b/plugins/Sidebar/media/Sidebar.coffee @@ -315,7 +315,7 @@ class Sidebar extends Class else if confirmed == 2 @wrapper.displayPrompt "Blacklist this site", "text", "Delete and Blacklist", "Reason", (reason) => @tag.find("#button-delete").addClass("loading") - @wrapper.ws.cmd "blacklistAdd", [@wrapper.site_info.address, reason] + @wrapper.ws.cmd "siteblockAdd", [@wrapper.site_info.address, reason] @wrapper.ws.cmd "siteDelete", @wrapper.site_info.address, -> document.location = $(".fixbutton-bg").attr("href") diff --git a/plugins/Sidebar/media/all.js b/plugins/Sidebar/media/all.js index eb878bae..50b1a02f 100644 --- a/plugins/Sidebar/media/all.js +++ b/plugins/Sidebar/media/all.js @@ -638,7 +638,7 @@ window.initScrollable = function () { } else if (confirmed === 2) { return _this.wrapper.displayPrompt("Blacklist this site", "text", "Delete and Blacklist", "Reason", function(reason) { _this.tag.find("#button-delete").addClass("loading"); - _this.wrapper.ws.cmd("blacklistAdd", [_this.wrapper.site_info.address, reason]); + _this.wrapper.ws.cmd("siteblockAdd", [_this.wrapper.site_info.address, reason]); return _this.wrapper.ws.cmd("siteDelete", _this.wrapper.site_info.address, function() { return document.location = $(".fixbutton-bg").attr("href"); });