Commit df86ba00 by doszhang

dos

parent 18734cd1
...@@ -198,6 +198,10 @@ input::-webkit-input-placeholder { ...@@ -198,6 +198,10 @@ input::-webkit-input-placeholder {
color: #c30101; color: #c30101;
} }
.flag-sortable-ghost {
opacity: 0;
}
@keyframes trans { @keyframes trans {
to { to {
transform: translateY(0); transform: translateY(0);
......
...@@ -173,7 +173,7 @@ $(document).ready(function () { ...@@ -173,7 +173,7 @@ $(document).ready(function () {
$('.flag-list-content').attr('id', 'flag-list-content'); $('.flag-list-content').attr('id', 'flag-list-content');
new Sortable(document.getElementById('flag-list-content'), { new Sortable(document.getElementById('flag-list-content'), {
animation: 150, animation: 150,
ghostClass: 'hide', ghostClass: 'flag-sortable-ghost',
chosenClass: "flag-sortable-active", chosenClass: "flag-sortable-active",
delay: 100, delay: 100,
onChoose: function (event) { onChoose: function (event) {
......
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