提交 93106033 编写于 作者: D Donghui Wang 提交者: tekton-robot

fix the broken link of github and qwiklabs

上级 0c101dc4
......@@ -15,8 +15,8 @@ function getKatacodaLnk (katacodaSrc) {
function openModal (article) {
const katacodaSrc = article.attr('data-katacoda-src');
const katacodaLnk = getKatacodaLnk(katacodaSrc);
const githubLnk = article.attr('data-github-src');
const qwiklabsLnk = article.attr('data-qwiklabs-src');
const githubLnk = article.attr('data-github-lnk');
const qwiklabsLnk = article.attr('data-qwiklabs-lnk');
$('#katacoda-button').attr('href', `https://katacoda.com/${katacodaLnk}`);
$('#github-button').attr('href', `https://github.com/${githubLnk}`);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册