Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -231,11 +231,11 @@ | @@ -231,11 +231,11 @@ | ||
| 231 | for (i=0; i<=5;i++) { | 231 | for (i=0; i<=5;i++) { |
| 232 | var isExits_pic = $("#pic"+i).val(); | 232 | var isExits_pic = $("#pic"+i).val(); |
| 233 | var isExits_url = $("#url"+i).val(); | 233 | var isExits_url = $("#url"+i).val(); |
| 234 | - if(!isExits_pic){ | 234 | + if(isExits_pic==""){ |
| 235 | $("#pic"+i).remove(); | 235 | $("#pic"+i).remove(); |
| 236 | } | 236 | } |
| 237 | 237 | ||
| 238 | - if(!isExits_url){ | 238 | + if(isExits_url==""){ |
| 239 | $("#url"+i).remove(); | 239 | $("#url"+i).remove(); |
| 240 | } | 240 | } |
| 241 | } | 241 | } |
-
Please register or login to post a comment