mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Change state variable so updates work more than once
Change-Id: I7c701761b09e96e01e26164080d22cafe43019e0
This commit is contained in:
parent
e8c517e48e
commit
7a1d74fd18
|
@ -110,6 +110,8 @@ ve.ce.BranchNode.prototype.updateDomWrapper = function( key ) {
|
|||
this.$.replaceWith( $element );
|
||||
// Use new element from now on
|
||||
this.$ = $element;
|
||||
// Remember which type we are using now
|
||||
this.domWrapperElementType = type;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue