From 0f97a47cbb7655817ec11ebae9ce9520404da22f Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:07:08 +0200 Subject: [PATCH] fixed spelling error --- js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/list.js b/js/list.js index aaac674..84519d0 100644 --- a/js/list.js +++ b/js/list.js @@ -47,7 +47,7 @@ function checkItem() { status: $(this).prop("checked") }, success: function () { - var dataIdSelector = (("[data-id='" + dataId) + "'"); + var dataIdSelector = (`[data-id='${dataId}']`); console.log(dataIdSelector); // var color = $(dataIdSelector).data("color"); // $(dataIdSelector).parent().parent().removeClass("bg-danger");