Index: trunk/extensions/CentralNotice/special/SpecialBannerController.php |
— | — | @@ -164,7 +164,7 @@ |
165 | 165 | if ( bannerJson.fundraising ) { |
166 | 166 | JAVASCRIPT; |
167 | 167 | $script .= "\n\t\tvar url = '" . |
168 | | - Xml::escapeJsString( $wgNoticeFundraisingUrl ) . "';"; |
| 168 | + Xml::escapeJsString( $wgNoticeFundraisingUrl ) . "';\n"; |
169 | 169 | $script .= <<<JAVASCRIPT |
170 | 170 | if ( ( bannerJson.landingPages !== null ) && bannerJson.landingPages.length ) { |
171 | 171 | targets = String( bannerJson.landingPages ).split(','); |