mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
In case of IE use non-breaking spaces inside slugs instead of invisible separators - as in different browsers.
Change-Id: Ib6ae077206de1ad772e47e212a9f276f6b0081e0
This commit is contained in:
parent
3f8863b05a
commit
6381709703
|
@ -33,7 +33,11 @@ ve.ce.BranchNode = function( type, model, $element ) {
|
||||||
|
|
||||||
/* Static Members */
|
/* Static Members */
|
||||||
|
|
||||||
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug"></span>' );
|
if ( $.browser.msie ) {
|
||||||
|
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug"> </span>' );
|
||||||
|
} else {
|
||||||
|
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug"></span>' );
|
||||||
|
}
|
||||||
|
|
||||||
/* Static Methods */
|
/* Static Methods */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue