Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -874,9 +874,7 @@ |
875 | 875 | var messageDiv = document.getElementById( 'mw-js-message' ); |
876 | 876 | if ( !messageDiv ) { |
877 | 877 | messageDiv = document.createElement( 'div' ); |
878 | | - if ( document.getElementById( 'column-content' ) |
879 | | - && document.getElementById( 'content' ) ) { |
880 | | - // MonoBook, presumably |
| 878 | + if ( skin == 'vector' || skin == 'monobook' ) |
881 | 879 | document.getElementById( 'content' ).insertBefore( |
882 | 880 | messageDiv, |
883 | 881 | document.getElementById( 'content' ).firstChild |