File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -457,12 +457,6 @@ class DocBlockWidget extends WidgetType {
457457 // "Update a DOM element created by a widget of the same type (but
458458 // different, non-eq content) to reflect this widget."
459459 updateDOM ( dom : HTMLElement , view : EditorView ) : boolean {
460- // If this update has already been made to the provided DOM, then we're
461- // done. TODO: does this actually improve performance?
462- if ( this . dom === dom ) {
463- return true ;
464- }
465-
466460 ( dom . childNodes [ 0 ] as HTMLDivElement ) . innerHTML = this . indent ;
467461
468462 // The contents div could be a TinyMCE instance, or just a plain div.
@@ -476,7 +470,6 @@ class DocBlockWidget extends WidgetType {
476470 contents_div . innerHTML = this . contents ;
477471 mathJaxTypeset ( contents_div ) ;
478472 }
479- this . dom = dom as HTMLDivElement ;
480473
481474 // Indicate the update was successful.
482475 return true ;
You can’t perform that action at this time.
0 commit comments