From d56341e24bfcc68925678fd6f47913e1311d4ae1 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 25 Mar 2016 16:56:56 +0000 Subject: [PATCH] made the check actually work --- PlexRequests.UI/Content/requests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexRequests.UI/Content/requests.js b/PlexRequests.UI/Content/requests.js index 13563f0bd..b351a105f 100644 --- a/PlexRequests.UI/Content/requests.js +++ b/PlexRequests.UI/Content/requests.js @@ -214,7 +214,7 @@ $(document).on("click", ".approve", function (e) { var buttonId = e.target.id; var $form = $('#approve' + buttonId); - if ($('#' + buttonId).text === "Loading...") { + if ($('#' + buttonId).text() === "Loading...") { return; }