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

--- Comment #9 from Erwin Dokter <[email protected]> 2012-01-19 18:07:17 UTC ---
Something seems not to be working quite right. Below are two queries for both
mw.util.$content and $('#bodyContent'), both in Monobook and Vector.

querie format:
console.log( 'Begin of Common.js: mw.util.$content is', typeof(
mw.util.$content ), mw.util.$content );
console.log( 'Begin of Common.js: #bodyContent is', typeof( $( '#bodyContent' )
), $( '#bodyContent' ) );

Result in Monobook:
[18:59:47.760] Begin of Common.js: mw.util.$content is object null
[18:59:47.766] Begin of Common.js: #bodyContent is object ({length:1, 0:({}),
context:({}), selector:"#bodyContent"})
[18:59:47.777] End of Common.js: mw.util.$content is object null
[18:59:47.783] End of Common.js: #bodyContent is object ({length:1, 0:({}),
context:({}), selector:"#bodyContent"})
[18:59:47.789] On document.ready: mw.util.$content is object null
[18:59:47.796] On document.ready: #bodyContent is object ({length:1, 0:({}),
context:({}), selector:"#bodyContent"})

Result in Vector:
[19:00:35.994] Begin of Common.js: mw.util.$content is object null
[19:00:36.001] Begin of Common.js: #bodyContent is object ({length:1, 0:({}),
context:({}), selector:"#bodyContent"})
[19:00:36.012] End of Common.js: mw.util.$content is object null
[19:00:36.017] End of Common.js: #bodyContent is object ({length:1, 0:({}),
context:({}), selector:"#bodyContent"})
[19:00:36.024] On document.ready: mw.util.$content is object null
[19:00:36.031] On document.ready: #bodyContent is object ({length:1, 0:({}),
context:({}), selector:"#bodyContent"})

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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