Parcourir la source

append bar to the document element

Gildas il y a 2 ans
Parent
commit
fe574cb30d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/ui/common/common-content-ui.js

+ 1 - 1
src/ui/common/common-content-ui.js

@@ -220,7 +220,7 @@ function displayBar(tagName, message, { link, buttonLabel, buttonOnclick } = {})
 					barElement.remove();
 				}
 			};
-			document.body.appendChild(barElement);
+			document.documentElement.appendChild(barElement);
 		}
 	} catch (error) {
 		// iignored