소스 검색

call the correct super() method (fixes #2587)

Falko Schindler 1 년 전
부모
커밋
be79532682
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      nicegui/elements/leaflet.py

+ 1 - 1
nicegui/elements/leaflet.py

@@ -144,4 +144,4 @@ class Leaflet(Element, component='leaflet.js'):
 
     def _handle_delete(self) -> None:
         binding.remove(self.layers)
-        super().delete()
+        super()._handle_delete()