Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -2,9 +2,8 @@ |
3 | 3 | |
4 | 4 | |
5 | 5 | function pr_init_tabs(){ |
6 | | - var a; |
7 | | - if ( self.skin=="vector" ) a = document.getElementById("p-namespaces"); |
8 | | - else var a = document.getElementById("p-cactions"); |
| 6 | + var a = document.getElementById("p-namespaces"); |
| 7 | + if(!a) a = document.getElementById("p-cactions"); |
9 | 8 | |
10 | 9 | if (!a) return; |
11 | 10 | var b = a.getElementsByTagName("ul"); |