mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
fixed spelling error
This commit is contained in:
parent
eabd856916
commit
0f97a47cbb
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue