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

--- Comment #2 from Bartosz DziewoƄski <[email protected]> ---
This happens when something loads the 'ext.wikiEditor' module on a page with no
#wpTextbox1. WikiEditor then tries to get the caret position (using the
'jquery.textSelection' module) in a non-existent <textarea> and it blows up.

It's amazing that this has ever worked, but if it did, then it probably should
keep working. textSelection probably shouldn't throw errors in this case, as
jQuery functions generally handle empty collections just fine.

-- 
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