mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
9b99962215
Due to Firefox' Ctrl-A creating an outer selection (0,len) as opposed to inner select like in Chrome (1,len-1), deleting leaves the document completely empty (with no cursor anywhere in the document). However, setupSlugs() wasn't inserting a slug because the internal list still existed (so this.model.length !== 0). Using this.$.children().length instead. Bug: 50947 Change-Id: I1517ebcc5b31e2544559b851174482b0c872b24b |
||
---|---|---|
.. | ||
jquery | ||
jquery.uls | ||
oojs | ||
qunit | ||
rangy | ||
unicodejs | ||
ve | ||
ve-mw |