https://bugzilla.wikimedia.org/show_bug.cgi?id=50040

--- Comment #3 from Bartosz DziewoƄski <[email protected]> ---
(In reply to comment #2)
> You could just use <script>if(jQuery)jQuery.ready()</script>, it would be
> shorter than what you have currently: <script>window.jQuery &&
> jQuery.ready();</script>

<script>if(window.jQuery)jQuery.ready()</script>, rather. The "window." is
important here, as we want to keep going even if jQuery is not loaded and thus
its variable is not defined.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to