mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-18 08:30:33 +03:00
fix: ignore cssText for coverage
This commit is contained in:
@@ -39,6 +39,7 @@ export default function updateTag({ attribute, tagIDKeyName } = {}, type, tags,
|
||||
newElement.innerHTML = tag.innerHTML
|
||||
} else if (attr === 'cssText') {
|
||||
if (newElement.styleSheet) {
|
||||
/* istanbul ignore next */
|
||||
newElement.styleSheet.cssText = tag.cssText
|
||||
} else {
|
||||
newElement.appendChild(document.createTextNode(tag.cssText))
|
||||
|
||||
Reference in New Issue
Block a user