File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/KristofferStrube.Blazor.FileAPI Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ public async Task RemoveOnErrorEventListenerAsync(EventListener<ProgressEvent> c
397397 /// <param name="options"><inheritdoc cref="EventTarget.AddEventListenerAsync{TEvent}(string, EventListener{TEvent}?, AddEventListenerOptions?)" path="/param[@name='options']"/></param>
398398 public async Task AddOnLoadEndEventListenerAsync ( EventListener < ProgressEvent > callback , AddEventListenerOptions ? options = null )
399399 {
400- await AddEventListenerAsync ( "error " , callback , options ) ;
400+ await AddEventListenerAsync ( "loadend " , callback , options ) ;
401401 }
402402
403403 /// <summary>
@@ -407,7 +407,7 @@ public async Task AddOnLoadEndEventListenerAsync(EventListener<ProgressEvent> ca
407407 /// <param name="options"><inheritdoc cref="EventTarget.RemoveEventListenerAsync{TEvent}(string, EventListener{TEvent}?, EventListenerOptions?)" path="/param[@name='options']"/></param>
408408 public async Task RemoveOnLoadEndEventListenerAsync ( EventListener < ProgressEvent > callback , EventListenerOptions ? options = null )
409409 {
410- await RemoveEventListenerAsync ( "error " , callback , options ) ;
410+ await RemoveEventListenerAsync ( "loadend " , callback , options ) ;
411411 }
412412
413413 /// <inheritdoc/>
You can’t perform that action at this time.
0 commit comments