Преглед на файлове

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()