mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "In case of IE use non-breaking spaces inside slugs instead of invisible separators - as in different browsers."
This commit is contained in:
commit
0713303d27
|
@ -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