mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Fixed invalid symbol
This commit is contained in:
parent
b3790de52d
commit
7c7583fcd6
|
@ -146,7 +146,7 @@ es.SurfaceView.prototype.addInsertionAnnotation = function( annotation ) {
|
|||
|
||||
es.SurfaceView.prototype.loadInsertionAnnotations = function( annotation ) {
|
||||
this.insertionAnnotations =
|
||||
this.model.getDocument().getAnnotationsFromOffset( _this.currentSelection.to );
|
||||
this.model.getDocument().getAnnotationsFromOffset( this.currentSelection.to );
|
||||
// Filter out annotations that aren't textStyles or links
|
||||
for ( var i = 0; i < this.insertionAnnotations.length; i++ ) {
|
||||
if ( !this.insertionAnnotations[i].type.match( /(textStyle\/|link\/)/ ) ) {
|
||||
|
|
Loading…
Reference in a new issue