fixed spelling error

This commit is contained in:
Tim Krehan 2019-05-26 17:07:08 +02:00
parent eabd856916
commit 0f97a47cbb

View file

@ -47,7 +47,7 @@ function checkItem() {
status: $(this).prop("checked") status: $(this).prop("checked")
}, },
success: function () { success: function () {
var dataIdSelector = (("[data-id='" + dataId) + "'"); var dataIdSelector = (`[data-id='${dataId}']`);
console.log(dataIdSelector); console.log(dataIdSelector);
// var color = $(dataIdSelector).data("color"); // var color = $(dataIdSelector).data("color");
// $(dataIdSelector).parent().parent().removeClass("bg-danger"); // $(dataIdSelector).parent().parent().removeClass("bg-danger");