kopia lustrzana https://github.com/browsh-org/browsh
rodzic
e85455880a
commit
1d4723f3b0
|
@ -256,6 +256,8 @@ export default class extends utils.mixins(CommonMixin, CommandsMixin) {
|
|||
_injectCustomCSS() {
|
||||
var node = document.createElement("style");
|
||||
node.innerHTML = this.config.browsh.custom_css;
|
||||
document.body.appendChild(node);
|
||||
if (document.body) {
|
||||
document.body.appendChild(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue