From: Happy-melon Date: Thu, 24 Sep 2009 22:20:56 +0000 (+0000) Subject: (bug 18436) remove redundant (and disruptive to CSS) hardcoded "display:inline" style... X-Git-Tag: 1.31.0-rc.0~39539 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=dc12b7425ebab1422a0db1259407fb3a8cdf88a7;p=lhc%2Fweb%2Fwiklou.git (bug 18436) remove redundant (and disruptive to CSS) hardcoded "display:inline" style from messages injected with jsMsg(). --- 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 ); }