diff --git a/clapper_src/controls.js b/clapper_src/controls.js index 1f70e4e5..f9f271c1 100644 --- a/clapper_src/controls.js +++ b/clapper_src/controls.js @@ -423,7 +423,7 @@ class ClapperControls extends Gtk.Box if( this[`chapter${type}Id`] - || this.chapterPopover.visible === isVisible + || (!isVisible && this.chapterPopover.visible === isVisible) ) return;