diff --git a/src/json-utils_1.1.js b/src/json-utils_1.1.js index b5d0390a8..e9dc71b2b 100644 --- a/src/json-utils_1.1.js +++ b/src/json-utils_1.1.js @@ -492,11 +492,6 @@ AFRAME.registerComponent('scene-title', { titleDiv.setAttribute('id', 'sceneTitle'); titleDiv.appendChild(newContent); document.body.append(titleDiv); - // update title if we are in Editor mode now - if (AFRAME.INSPECTOR && AFRAME.INSPECTOR.opened) { - const sceneTitleEditor = document.querySelector('#scene-title p'); - sceneTitleEditor.textContent = titleText; - } }, updateTitleText: function (titleText) { this.titleElement.textContent = titleText;