Skip to content

Commit b12792a

Browse files
committed
index-banner minor fixed
1 parent 25718bd commit b12792a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

assets/js/index-banner-v3.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ function getRepoTypeByLang(lang, url) {
921921

922922
function getDocumentationLink(product, lang, url) {
923923
var reporType = getRepoTypeByLang(lang, url)
924+
product = DcvProducts.indexOf(product) >= 0 ? "dcv" : product
924925
if (product == "dbr" && lang && lang != "core") {
925926
lang = lang == "js" ? "javascript" : lang
926927
lang = ['objective-c', 'objc', 'swift', 'ios'].indexOf(lang) >= 0 ? "objectivec-swift" : lang

0 commit comments

Comments
 (0)