Commit 453e4dcc authored by Marcelo Rivera's avatar Marcelo Rivera Committed by Mark Harding
Browse files

Error: NotFoundError: Failed to execute 'removeChild' on 'Node'

parent 3abc56e3
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -443,7 +443,9 @@ export class ButtonsPlugin {
    const $input = this.$element.querySelector('.medium-media-buttons');
    const $input = this.$element.querySelector('.medium-media-buttons');


    if ($input) {
    if ($input) {
      try {
        $input.parentNode.removeChild($input);
        $input.parentNode.removeChild($input);
      } catch (e) {}
    }
    }
  }
  }