From c36b7b77fccac4b9e9ff49c908b089366c00c7f8 Mon Sep 17 00:00:00 2001 From: bigeagle Date: Wed, 15 Jun 2016 15:00:36 +0800 Subject: [PATCH] ignore disabled mirrors --- static/js/index.es6 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/index.es6 b/static/js/index.es6 index a47fcef..fc9829d 100644 --- a/static/js/index.es6 +++ b/static/js/index.es6 @@ -44,6 +44,9 @@ window.refreshMirrorList = () => { for(var k in mir_data) { var d = mir_data[k]; + if (d.status == "disabled") { + continue; + } if (options[d.name] != undefined ) { d = $.extend(d, options[d.name]); }