dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
15ce698
)
Merge "SECURITY: Don't allow entities in XMP with HHVM"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 1 Apr 2015 17:40:17 +0000
(17:40 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 1 Apr 2015 17:40:17 +0000
(17:40 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
73d0cba
..
cac89f4
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-3106,7
+3106,7
@@
class OutputPage extends ContextSource {
// This also enforces $.isReady to be true at </body> which fixes the
// mw.loader bug in Firefox with using document.write between </body>
// and the DOMContentReady event (bug 47457).
- $html = Html::inlineScript( '
window.jQuery &&
jQuery.ready();' );
+ $html = Html::inlineScript( '
if(window.jQuery)
jQuery.ready();' );
if ( !$this->getConfig()->get( 'ResourceLoaderExperimentalAsyncLoading' ) ) {
$html .= $this->getScriptsForBottomQueue( false );