From c747939c90b677267f2e46c574f516cf71fd0141 Mon Sep 17 00:00:00 2001 From: Atinux Date: Mon, 6 Nov 2017 13:23:12 +0100 Subject: [PATCH] fix: Fix body tags update --- src/client/updaters/updateTags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/updaters/updateTags.js b/src/client/updaters/updateTags.js index ae7e868..b93a971 100644 --- a/src/client/updaters/updateTags.js +++ b/src/client/updaters/updateTags.js @@ -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