From 391481dc435eddc308c308a5b5ebde127a322c26 Mon Sep 17 00:00:00 2001 From: Benjamin Runnels Date: Thu, 10 Dec 2015 15:21:34 -0600 Subject: [PATCH] replaced the other srcElement too --- html/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/services.js b/html/services.js index b44ec88..17075ff 100644 --- a/html/services.js +++ b/html/services.js @@ -14,7 +14,7 @@ function changeServices(e) { }; hideWarning(); - var n = e.srcElement.id.replace("-form", ""); + var n = e.target.id.replace("-form", ""); var cb = $("#" + n + "-button"); addClass(cb, "pure-button-disabled"); ajaxSpin("POST", url, function (resp) {