File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ $(document).ready(function() {
427
427
const DocsPreferences = Storage ( 'org.scala-lang.docs.preferences' ) ;
428
428
const Scala3 = 'scala-3' ;
429
429
const scalaVersion = DocsPreferences . getPreference ( 'scalaVersion' , Scala3 ) ;
430
-
430
+
431
431
function activateTab ( tabs , scalaVersion ) {
432
432
// click the code tab corresponding to the preferred Scala version.
433
433
tabs . find ( 'input[data-target=' + scalaVersion + ']' ) . prop ( "checked" , true ) ;
@@ -537,7 +537,7 @@ $('#filter-glossary-terms').focus();
537
537
// Loop through the comment list
538
538
$ ( ".glossary .toc-context > ul li" ) . each ( function ( ) {
539
539
// If the name of the glossary term does not contain the text phrase fade it out
540
- if ( jQuery ( this ) . find ( "h4 " ) . text ( ) . search ( new RegExp ( filter , "i" ) ) < 0 ) {
540
+ if ( jQuery ( this ) . find ( "h3 " ) . text ( ) . search ( new RegExp ( filter , "i" ) ) < 0 ) {
541
541
$ ( this ) . fadeOut ( ) ;
542
542
543
543
// Show the list item if the phrase matches and increase the count by 1
You can’t perform that action at this time.
0 commit comments