File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,14 +95,14 @@ export function showErrorToast(message: string, opts?: ToastOpts): Toast {
9595 return showToast ( message , 'error' , opts ) ;
9696}
9797
98- function hideToastsByElement ( el : Element ) : void {
98+ function hideToastByElement ( el : Element ) : void {
9999 ( el as ToastifyElement ) ?. _giteaToastifyInstance ?. hideToast ( ) ;
100100}
101101
102102export function hideToastsFrom ( parent : Element ) : void {
103- queryElems ( parent , ':scope > .toastify.on' , hideToastsByElement ) ;
103+ queryElems ( parent , ':scope > .toastify.on' , hideToastByElement ) ;
104104}
105105
106106export function hideToastsAll ( ) : void {
107- queryElems ( document , '.toastify.on' , hideToastsByElement ) ;
107+ queryElems ( document , '.toastify.on' , hideToastByElement ) ;
108108}
You can’t perform that action at this time.
0 commit comments