From: Roan Kattouw Date: Tue, 7 Jul 2009 00:06:46 +0000 (+0000) Subject: (bug 19546) Watch and flaggedrevs AJAX success messages not appearing in Vector X-Git-Tag: 1.31.0-rc.0~41077 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=07562b4d80a221e27c508125086dbc7a578e7e4c;p=lhc%2Fweb%2Fwiklou.git (bug 19546) Watch and flaggedrevs AJAX success messages not appearing in Vector --- diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index b81196f33e..d77e24d137 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -874,9 +874,7 @@ function jsMsg( message, className ) { var messageDiv = document.getElementById( 'mw-js-message' ); if ( !messageDiv ) { messageDiv = document.createElement( 'div' ); - if ( document.getElementById( 'column-content' ) - && document.getElementById( 'content' ) ) { - // MonoBook, presumably + if ( skin == 'vector' || skin == 'monobook' ) document.getElementById( 'content' ).insertBefore( messageDiv, document.getElementById( 'content' ).firstChild