From dc12b7425ebab1422a0db1259407fb3a8cdf88a7 Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Thu, 24 Sep 2009 22:20:56 +0000 Subject: [PATCH] (bug 18436) remove redundant (and disruptive to CSS) hardcoded "display:inline" style from messages injected with jsMsg(). --- RELEASE-NOTES | 2 ++ skins/common/wikibits.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 93fb89dab1..dfb9670abe 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -536,6 +536,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 20702) Parser functions can now be used correctly in MediaWiki:Missing-article * (bug 14117) "redirected from" is now also shown on foreign file redirects +* (bug 18436) JavaScript-added AJAX messages (from the JS watch/unwatch, for + instance) no longer include a redundant "display:block" hardcoded style. == API changes in 1.16 == diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 06bbff3aec..b62cbde4df 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -940,7 +940,6 @@ function jsMsg( message, className ) { } messageDiv.setAttribute( 'id', 'mw-js-message' ); - messageDiv.style.display = 'block'; if( className ) { messageDiv.setAttribute( 'class', 'mw-js-message-'+className ); } -- 2.20.1