Merge pull request #20682 from sfackler/fix-impls
Fix JS error Reviewed-by: alexcrichton
This commit is contained in:
commit
f7105bfade
@ -708,7 +708,7 @@
|
||||
var code = $('<code>').append(structs[j]);
|
||||
$.each(code.find('a'), function(idx, a) {
|
||||
var href = $(a).attr('href');
|
||||
if (href && !href.startsWith('http')) {
|
||||
if (href && href.indexOf('http') !== 0) {
|
||||
$(a).attr('href', rootPath + href);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user