log color to console

This commit is contained in:
Tim Krehan 2019-05-26 16:59:11 +02:00
parent bb031ae058
commit 69d1be8c99

View file

@ -48,7 +48,7 @@ function checkItem() {
}, },
success: function () { success: function () {
var color = $("[data-id='" + dataId + "'").data("color"); var color = $("[data-id='" + dataId + "'").data("color");
console.log(color);
$("[data-id='" + dataId + "'").parent().parent().removeClass("bg-danger"); $("[data-id='" + dataId + "'").parent().parent().removeClass("bg-danger");
if($("[data-id='" + dataId + "'").prop("checked")){ if($("[data-id='" + dataId + "'").prop("checked")){