File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/resources/formats/html Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
319319 for ( const child of el . children ) {
320320 child . style . opacity = 0 ;
321321 child . style . overflow = "hidden" ;
322+ child . style . pointerEvents = "none" ;
322323 }
323324
324325 nexttick ( ( ) => {
@@ -360,6 +361,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
360361
361362 const clone = child . cloneNode ( true ) ;
362363 clone . style . opacity = 1 ;
364+ clone . style . pointerEvents = null ;
363365 clone . style . display = null ;
364366 toggleContents . append ( clone ) ;
365367 }
@@ -434,6 +436,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
434436 for ( const child of el . children ) {
435437 child . style . opacity = 1 ;
436438 child . style . overflow = null ;
439+ child . style . pointerEvents = null ;
437440 }
438441
439442 const placeholderEl = window . document . getElementById (
You can’t perform that action at this time.
0 commit comments