|
@@ -270,20 +270,20 @@ function fixLeft(){
|
|
|
if(one.children('div').length === 0) {
|
|
|
two.css('margin-left','0')
|
|
|
}else {
|
|
|
- two.css('margin-left','8px')
|
|
|
+ // two.css('margin-left','8px')
|
|
|
}
|
|
|
if(two.children('div').length === 0) {
|
|
|
- two.css('margin-left','8px')
|
|
|
+ // two.css('margin-left','8px')
|
|
|
if(one.children('div').length === 0){
|
|
|
three.css('margin-left','0')
|
|
|
}else {
|
|
|
- three.css('margin-left','8px')
|
|
|
+ // three.css('margin-left','8px')
|
|
|
}
|
|
|
}else {
|
|
|
- three.css('margin-left','8px')
|
|
|
+ // three.css('margin-left','8px')
|
|
|
}
|
|
|
if(three.children('div').length === 0) {
|
|
|
- three.css('margin-left','8px')
|
|
|
+ // three.css('margin-left','8px')
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -297,7 +297,7 @@ $("#inputDel_0 .column").on('DOMNodeRemoved','div',function(){
|
|
|
function addDelInput(t,type) {
|
|
|
var d = document.createElement('div')
|
|
|
var text = $(t).prev().val()
|
|
|
- if(!text){
|
|
|
+ if(!text.trim()){
|
|
|
return;
|
|
|
}
|
|
|
$(d).html(text)
|
|
@@ -365,7 +365,7 @@ function addDelInputB(t,type) {
|
|
|
$('.winner-search-list').hide()
|
|
|
var d = document.createElement('div');
|
|
|
var text = $(t).val();
|
|
|
- if(!text){
|
|
|
+ if(!text.trim()){
|
|
|
return;
|
|
|
}
|
|
|
$(d).html(text);
|