Skip to content

Commit

Permalink
remove title changes (need to do in separate ticket)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed Jun 10, 2024
1 parent 0743390 commit 1496b79
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/json-utils_1.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1496b79

Please sign in to comment.