Sfoglia il codice sorgente

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

Falko Schindler 1 anno fa
parent
commit
be79532682
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()