From 1496b79e4e95bb97f51b039d714d3b6baf5733ee Mon Sep 17 00:00:00 2001 From: Kieran Farr Date: Mon, 10 Jun 2024 09:48:05 -0700 Subject: [PATCH] remove title changes (need to do in separate ticket) --- src/json-utils_1.1.js | 5 ----- 1 file changed, 5 deletions(-) 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;