mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +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 () {
|
||||
var color = $("[data-id='" + dataId + "'").data("color");
|
||||
|
||||
console.log(color);
|
||||
$("[data-id='" + dataId + "'").parent().parent().removeClass("bg-danger");
|
||||
|
||||
if($("[data-id='" + dataId + "'").prop("checked")){
|
||||
|
|
Loading…
Reference in a new issue