a11y-outline

web extension to navigate document outlines easily
git clone https://git.ce9e.org/a11y-outline.git

commit
09443903e4cd7f0d485ea7e6e877e769a73ca12c
parent
f58199a04263257907a5cc9428357a3431e835b7
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-01-12 15:59
only display dialog once stylesheet has loaded

Diffstat

M outline.js 4 +++-

1 files changed, 3 insertions, 1 deletions


diff --git a/outline.js b/outline.js

@@ -178,7 +178,9 @@ var quickNav = function() {
  178   178 	dialog.appendChild(style);
  179   179 
  180   180 	updateVisiblePane(select, dialog);
  181    -1 	dialog.showModal();
   -1   181 	style.addEventListener('load', () => {
   -1   182 		dialog.showModal();
   -1   183 	});
  182   184 };
  183   185 
  184   186 var _walk = function(root, fn) {