mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-24 06:40:01 +01:00
log color to console
This commit is contained in:
parent
bb031ae058
commit
69d1be8c99
1 changed files with 1 additions and 1 deletions
|
@ -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")){
|
||||||
|
|
Loading…
Reference in a new issue