From b8f92967ebc9cd8f771866d1a6d9123a2dfd4020 Mon Sep 17 00:00:00 2001 From: iFish Date: Fri, 5 Sep 2014 12:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E8=B5=B7=E5=94=AE=E8=BD=A6=E6=AC=A1?= =?UTF-8?q?=E4=B9=9F=E7=BA=B3=E5=85=A5=E8=80=83=E8=99=91=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web12306/js/otn/trainstationsuggest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web12306/js/otn/trainstationsuggest.js b/Web12306/js/otn/trainstationsuggest.js index a9f91b7..717c076 100644 --- a/Web12306/js/otn/trainstationsuggest.js +++ b/Web12306/js/otn/trainstationsuggest.js @@ -197,8 +197,8 @@ //没有选择,则不考虑 if (!selectedTrain.test(t.code)) return false; - //始发终到或未起售,不考虑 - if ((t.from.endpoint && t.to.endpoint) || t.available < 0) + //始发终到,不考虑 + if (t.from.endpoint && t.to.endpoint) return false; //如果设置了席别,并且设置的席别都没有,则不考虑