Commit d58b02d2 by doszhang

dos

parent 955c4ba1
...@@ -178,14 +178,14 @@ $(document).ready(function () { ...@@ -178,14 +178,14 @@ $(document).ready(function () {
delay: 100, delay: 100,
direction: 'horizontal', direction: 'horizontal',
onChoose: function (event) { onChoose: function (event) {
const dragEl = $('.event.item'); const dragEl = $(event.item);
dragEl.find('.btn-checked-item-delete').css('opacity', 0); dragEl.find('.btn-checked-item-delete').css('opacity', 0);
}, },
onUpdate: function (event) { onUpdate: function (event) {
}, },
inEnd: function (event) { inEnd: function (event) {
const dragEl = $('.event.item'); const dragEl = $(event.item);
dragEl.find('.btn-checked-item-delete').css('opacity', 1); dragEl.find('.btn-checked-item-delete').css('opacity', 1);
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment