Mercurial > libervia-web
diff libervia/pages/_browser/slideshow.py @ 1357:dbd573b0bc9c
browser: updated code to work with new Brython 3.8.10:
/!\ Brython 3.8.10 is now the minimal version
Removed `.js.` and `.elt.` attributes which are not working and needed anymore.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 17 Sep 2020 22:46:55 +0200 |
parents | 1df0d1b28b83 |
children | 3c5054a22e7a |
line wrap: on
line diff
--- a/libervia/pages/_browser/slideshow.py Thu Sep 17 16:44:54 2020 +0200 +++ b/libervia/pages/_browser/slideshow.py Thu Sep 17 22:46:55 2020 +0200 @@ -34,7 +34,7 @@ if current is None: return None try: - return current.js._item + return current._item except AttributeError: return None @@ -45,7 +45,7 @@ if current is None: return None try: - return current.js._options + return current._options except AttributeError: return None