Merge "fix api level filtering script to compare integers, not strings" into gingerbread

This commit is contained in:
Scott Main
2011-02-04 15:11:59 -08:00
committed by Android (Google) Code Review

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();