Răsfoiți Sursa

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

Falko Schindler 1 an în urmă
părinte
comite
be79532682
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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()