Commit 6dd6c904 by doszhang

dos

parent 287487da
...@@ -153,6 +153,7 @@ let colorIndex = 4; ...@@ -153,6 +153,7 @@ let colorIndex = 4;
let checkedDecorate; let checkedDecorate;
let checkFlagListStatus = false; let checkFlagListStatus = false;
let firstChooseFlag = true; let firstChooseFlag = true;
let colorbarLeft;
const fontSize = parseFloat($('html').css('fontSize')); const fontSize = parseFloat($('html').css('fontSize'));
...@@ -172,7 +173,7 @@ $(document).ready(function () { ...@@ -172,7 +173,7 @@ $(document).ready(function () {
// $('.logo').css('top',getTranslateDistance(15)); // $('.logo').css('top',getTranslateDistance(15));
$('.flag-list-content').attr('id', 'flag-list-content'); $('.flag-list-content').attr('id', 'flag-list-content');
const colorbarLeft = $('.colorbar').offset().left; colorbarLeft = $('.colorbar').offset().left;
new Sortable(document.getElementById('flag-list-content'), { new Sortable(document.getElementById('flag-list-content'), {
animation: 150, animation: 150,
ghostClass: 'flag-sortable-ghost', ghostClass: 'flag-sortable-ghost',
......
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