HomePhabricator

Follow-up 8112c3ba30: fix JS error on link inspector teardown

Authored by Catrope.

Description

Follow-up 8112c3ba30: fix JS error on link inspector teardown

LinkAnnotationInspector in VE core calls
this.setAnnotation( null ); on teardown, which causes
MWLinkAnnotationInspector#onInternalLinkChange to be invoked
with a null fragment.

Bug: T103176
Bug: T104231
Change-Id: Ibb50ba1696609bebdfc2857ea292ee30b6b5126a

Details