fix api level filtering script to compare integers, not strings

Change-Id: I8f0e44ec2bf0833a0d547a3795ee31ee0dc69d8a
This commit is contained in:
Scott Main
2011-02-04 15:13:04 -08:00
parent a16d7d8ad3
commit 11057f5a0a

View File

@@ -56,7 +56,7 @@ function changeApiLevel() {
if (userApiLevelEnabled == 0) {
toggleVisisbleApis(selectedLevel, "body");
} else {
selectedLevel = $("#apiLevelSelector option:selected").val();
selectedLevel = parseInt($("#apiLevelSelector option:selected").val());
toggleVisisbleApis(selectedLevel, "body");
var date = new Date();