Skip to content

Commit 3ff5be1

Browse files
committed
fix minor bug
1 parent 9113988 commit 3ff5be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/script.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ var loadAlgorithm = function (category, algorithm) {
8181
$('[data-category="' + category + '"][data-algorithm="' + algorithm + '"]').addClass('active');
8282
$('#btn_desc').click();
8383

84-
$('#category').text(list[category].name);
85-
$('#algorithm, #desc_title').text(list[category].list[algorithm]);
84+
$('#category').html(list[category].name);
85+
$('#algorithm, #desc_title').html(list[category].list[algorithm]);
8686
$('#tab_desc > .wrapper').empty();
8787
$('.files_bar').empty();
8888
$('#explanation').html('');

0 commit comments

Comments
 (0)