Index: trunk/extensions/FlaggedRevs/client/flaggedrevs.js |
— | — | @@ -9,12 +9,13 @@ |
10 | 10 | // Rating detail box |
11 | 11 | var toggle = document.getElementById('mw-fr-revisiontoggle'); |
12 | 12 | if( toggle ) { |
13 | | - toggle.style.display = 'inline'; |
| 13 | + toggle.style.display = 'inline'; /* show toggle control */ |
| 14 | + this.hideBoxDetails(); /* hide the initially displayed ratings */ |
14 | 15 | } |
15 | 16 | // Diff detail box |
16 | 17 | toggle = document.getElementById('mw-fr-difftoggle'); |
17 | 18 | if( toggle ) { |
18 | | - toggle.style.display = 'inline'; |
| 19 | + toggle.style.display = 'inline'; /* show toggle control */ |
19 | 20 | var diff = document.getElementById('mw-fr-stablediff'); |
20 | 21 | if( diff ) { |
21 | 22 | diff.style.display = 'none'; |
— | — | @@ -23,7 +24,7 @@ |
24 | 25 | // Log detail box |
25 | 26 | toggle = document.getElementById('mw-fr-logtoggle'); |
26 | 27 | if( toggle ) { |
27 | | - toggle.style.display = 'inline'; |
| 28 | + toggle.style.display = 'inline'; /* show toggle control */ |
28 | 29 | var log = document.getElementById('mw-fr-logexcerpt'); |
29 | 30 | if( log ) { |
30 | 31 | log.style.display = 'none'; |