mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-09 00:02:25 +03:00
fix: Fix body tags update
This commit is contained in:
@@ -14,7 +14,7 @@ export default function _updateTags (options = {}) {
|
||||
*/
|
||||
return function updateTags (type, tags, headTag, bodyTag) {
|
||||
const oldHeadTags = toArray(headTag.querySelectorAll(`${type}[${attribute}]`))
|
||||
const oldBodyTags = toArray(bodyTag.querySelectorAll(`${type}[${attribute}][body="true"]`))
|
||||
const oldBodyTags = toArray(bodyTag.querySelectorAll(`${type}[${attribute}][data-body="true"]`))
|
||||
const newTags = []
|
||||
let indexToDelete
|
||||
|
||||
|
||||
Reference in New Issue
Block a user