mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 19:25:44 +08:00
Update app/assets/javascripts/discourse/tests/setup-tests.js
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
parent
3350657553
commit
5c694e62ba
@ -347,7 +347,7 @@ function setupTestsCommon(application, container, config) {
|
||||
e.remove()
|
||||
);
|
||||
document.body.removeAttribute("class");
|
||||
let html = document.getElementsByTagName("html")[0];
|
||||
let html = document.documentElement;
|
||||
html.removeAttribute("class");
|
||||
html.removeAttribute("style");
|
||||
let testing = document.getElementById("ember-testing");
|
||||
|
Loading…
x
Reference in New Issue
Block a user