OutputPage: Tiny tweak to jQuery.ready inline script
authorOri Livneh <ori@wikimedia.org>
Wed, 1 Apr 2015 08:48:29 +0000 (01:48 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 1 Apr 2015 17:03:54 +0000 (17:03 +0000)
commit1b146857e379ee86543923966fac604009f0e11d
tree7d3d85391f435f70269f8910eb6246133813d84a
parenta93c41542ef7c9d2093e2017f1188568410b8178
OutputPage: Tiny tweak to jQuery.ready inline script

Changing 'window.jQuery && jQuery.ready()' to 'if ( window.jQuery )
jQuery.ready()' means no *<![CDATA[*/ /*]]>* is required (because we
got rid of the ampersands). It's also more readable and more consistent
with if(window.mw).

Change-Id: I28262efb978c085e732b40f9dc5ddb1bda5c4376
includes/OutputPage.php