1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-07-25 08:51:38 +02:00

additional cleanup when destroying #1145

This commit is contained in:
hakimel
2022-02-21 14:28:11 +01:00
parent 1e0cbe6779
commit 5e12c6aeb7
10 changed files with 62 additions and 5 deletions

View File

@@ -79,6 +79,12 @@ export default class Focus {
}
destroy() {
this.Reveal.getRevealElement().classList.remove( 'focused' );
}
onRevealPointerDown( event ) {
this.focus();