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

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Krinkle <[email protected]> 2011-03-08 23:34:53 UTC ---
using innerHTML += causes the html to be re-entered, dom elements re-created
etc. could cause unexpected behaviour + would break any events to elements in
there (although that's probably rare in the <head>).

use appendChild instead ( or $('head').append( htmlcodehere ) ).

And, although not specific to this patch, using JSON instead of XML from the
API is probably a good idea.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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