回答編集履歴
1
編集
answer
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
```javascript
|
|
4
4
|
$(function() {
|
|
5
|
-
$('#unList').
|
|
5
|
+
$('#unList').on('li','click',function(){
|
|
6
6
|
$(this).remove();
|
|
7
7
|
$('#sortable').append($(this).clone().addClass("ui-sortable-handle"));
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
$("#sortable").
|
|
10
|
+
$("#sortable").on('li','click',function(){
|
|
11
11
|
$(this).remove();
|
|
12
12
|
$('#unList').append($(this).clone().removeClass("ui-sortable-handle"));
|
|
13
13
|
});
|