commit | 7f613e0d3c3560f9eabe487f49ffd267388061ff | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Nov 07 02:50:44 2016 +0100 |
committer | Akron <nils@diewald-online.de> | Mon Nov 07 02:50:44 2016 +0100 |
tree | 31fb28c560eb470b10ea7cc68228cc87d49a896d | |
parent | cdb0baa9e3b6b3543d75db9391edc39eae9e88ad [diff] [blame] |
Fixed select menu
diff --git a/dev/js/src/api.js b/dev/js/src/api.js index c03013f..5295b3c 100644 --- a/dev/js/src/api.js +++ b/dev/js/src/api.js
@@ -28,7 +28,7 @@ // This is for legacy support var legacy = legacySigle.exec(match.textSigle); - if (legacy[0]) { + if (legacy !== null && legacy[0]) { url += '/' + legacy[1] + '/' + legacy[2] + '/' + legacy[3]; } else {