Index: trunk/extensions/FlaggedRevs/client/review.js |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | for( tag in wgFlaggedRevsParams.tags ) { |
22 | 22 | var controlName = "wp" + tag; |
23 | 23 | var levels = document.getElementsByName(controlName); |
24 | | - if( !levels.size ) continue; |
| 24 | + if( !levels.length ) continue; |
25 | 25 | var selectedlevel = 0; // default |
26 | 26 | |
27 | 27 | if( levels[0].nodeName == 'SELECT' ) { |