Add support for searching the Skyrim SE masterlist

This commit is contained in:
Oliver Hamlet
2017-01-05 12:47:04 +00:00
committed by GitHub
parent d0c75c9eda
commit 18b9fc2eb0
+5
View File
@@ -9,6 +9,7 @@ var repos = [
[ "Fallout 3", "fallout3" ],
[ "Fallout: New Vegas", "falloutnv" ],
[ "Fallout 4", "fallout4" ]
[ "Skyrim SE", "skyrimse" ],
]
var repoBranch = 'master'; //The repository branch to search.
@@ -119,6 +120,10 @@ if (pos != -1) {
gameButton.setAttribute('data-selected', repos[2][1]);
} else if (game == "falloutnv") {
gameButton.setAttribute('data-selected', repos[3][1]);
} else if (game == "fallout4") {
gameButton.setAttribute('data-selected', repos[4][1]);
} else if (game == "skyrimse") {
gameButton.setAttribute('data-selected', repos[5][1]);
} else {
gameButton.setAttribute('data-selected', repos[0][1]);
}