Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -1219,11 +1219,11 @@ |
1220 | 1220 | * something, replacing any preexisting message. |
1221 | 1221 | * |
1222 | 1222 | * @param String message HTML to be put inside the right div |
1223 | | - * @param String class Used in adding a class; should be different for each |
| 1223 | + * @param String className Used in adding a class; should be different for each |
1224 | 1224 | * call to allow CSS/JS to hide different boxes. null = no class used. |
1225 | 1225 | * @return Boolean True on success, false on failure |
1226 | 1226 | */ |
1227 | | -function jsMsg( message, class ) { |
| 1227 | +function jsMsg( message, className ) { |
1228 | 1228 | if ( !document.getElementById ) { |
1229 | 1229 | return false; |
1230 | 1230 | } |
— | — | @@ -1253,8 +1253,8 @@ |
1254 | 1254 | } |
1255 | 1255 | |
1256 | 1256 | messageDiv.setAttribute( 'id', 'mw-js-message' ); |
1257 | | - if( class ) { |
1258 | | - messageDiv.setAttribute( 'class', 'mw-js-message-'+class ); |
| 1257 | + if( className ) { |
| 1258 | + messageDiv.setAttribute( 'class', 'mw-js-message-'+className ); |
1259 | 1259 | } |
1260 | 1260 | messageDiv.innerHTML = message; |
1261 | 1261 | return true; |