1
- /*
2
- @licstart The following is the entire license notice for the
3
- JavaScript code in this file.
4
-
5
- Copyright (C) 1997-2017 by Dimitri van Heesch
6
-
7
- This program is free software; you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
9
- the Free Software Foundation; either version 2 of the License, or
10
- (at your option) any later version.
11
-
12
- This program is distributed in the hope that it will be useful,
13
- but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
16
-
17
- You should have received a copy of the GNU General Public License along
18
- with this program; if not, write to the Free Software Foundation, Inc.,
19
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
-
21
- @licend The above is the entire license notice
22
- for the JavaScript code in this file
23
- */
24
1
function toggleVisibility ( linkObj )
25
2
{
26
3
var base = $ ( linkObj ) . attr ( 'id' ) ;
@@ -38,7 +15,7 @@ function toggleVisibility(linkObj)
38
15
summary . hide ( ) ;
39
16
$ ( linkObj ) . removeClass ( 'closed' ) . addClass ( 'opened' ) ;
40
17
$ ( trigger ) . attr ( 'src' , src . substring ( 0 , src . length - 10 ) + 'open.png' ) ;
41
- }
18
+ }
42
19
return false ;
43
20
}
44
21
@@ -60,7 +37,7 @@ function toggleLevel(level)
60
37
$ ( this ) . show ( ) ;
61
38
} else if ( l == level + 1 ) {
62
39
i . removeClass ( 'iconfclosed iconfopen' ) . addClass ( 'iconfclosed' ) ;
63
- a . html ( '▶ ;' ) ;
40
+ a . html ( '► ;' ) ;
64
41
$ ( this ) . show ( ) ;
65
42
} else {
66
43
$ ( this ) . hide ( ) ;
@@ -87,7 +64,7 @@ function toggleFolder(id)
87
64
// replace down arrow by right arrow for current row
88
65
var currentRowSpans = currentRow . find ( "span" ) ;
89
66
currentRowSpans . filter ( ".iconfopen" ) . removeClass ( "iconfopen" ) . addClass ( "iconfclosed" ) ;
90
- currentRowSpans . filter ( ".arrow" ) . html ( '▶ ;' ) ;
67
+ currentRowSpans . filter ( ".arrow" ) . html ( '► ;' ) ;
91
68
rows . filter ( "[id^=row_" + id + "]" ) . hide ( ) ; // hide all children
92
69
} else { // we are SHOWING
93
70
// replace right arrow by down arrow for current row
@@ -97,7 +74,7 @@ function toggleFolder(id)
97
74
// replace down arrows by right arrows for child rows
98
75
var childRowsSpans = childRows . find ( "span" ) ;
99
76
childRowsSpans . filter ( ".iconfopen" ) . removeClass ( "iconfopen" ) . addClass ( "iconfclosed" ) ;
100
- childRowsSpans . filter ( ".arrow" ) . html ( '▶ ;' ) ;
77
+ childRowsSpans . filter ( ".arrow" ) . html ( '► ;' ) ;
101
78
childRows . show ( ) ; //show all children
102
79
}
103
80
updateStripes ( ) ;
@@ -117,7 +94,7 @@ function toggleInherit(id)
117
94
$ ( img ) . attr ( 'src' , src . substring ( 0 , src . length - 10 ) + 'open.png' ) ;
118
95
}
119
96
}
120
- /* @license -end */
97
+
121
98
122
99
$ ( document ) . ready ( function ( ) {
123
100
$ ( '.code,.codeRef' ) . each ( function ( ) {
0 commit comments