Explorar o código

append bar to the document element

Gildas %!s(int64=2) %!d(string=hai) anos
pai
achega
fe574cb30d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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