Browse Source

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

Falko Schindler 1 year ago
parent
commit
be79532682
1 changed files with 1 additions and 1 deletions
  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()