We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f0cb7e commit b59fc82Copy full SHA for b59fc82
etc/typedoc/theme/assets/js/theme.js
@@ -61,8 +61,11 @@
61
var idx = txt.indexOf( 'stdlib' );
62
if ( idx === -1 || idx === 1 ) { // e.g., '@stdlib/types/iter'
63
txt = 'stdlib | ' + txt;
64
- } else if ( txt.indexOf( ' | stdlib' ) === txt.length-9 ) { // e.g., 'foo/bar | stdlib'
65
- txt = 'stdlib | ' + txt.slice( 0, -9 );
+ } else {
+ idx = txt.indexOf( ' | stdlib' );
66
+ if ( idx === txt.length-9 ) { // e.g., 'foo/bar | stdlib'
67
+ txt = 'stdlib | ' + txt.slice( 0, -9 );
68
+ }
69
}
70
el.innerHTML = txt;
71
0 commit comments