Skip to content

Commit 98f4374

Browse files
author
Avaer Kazmer
committed
Make new scene action button work
1 parent 6264e69 commit 98f4374

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3538,6 +3538,10 @@
35383538
_selectTab(3);
35393539
} else if (id === 'tab-4') {
35403540
_selectTab(4);
3541+
} else if (id === 'action-new-scene') {
3542+
while (root.firstChild) {
3543+
root.removeChild(root.firstChild);
3544+
}
35413545
} else if (href) {
35423546
const xrIframe = document.createElement('xr-iframe');
35433547
xrIframe.src = href;

interface.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ <h3>{{label}}</h3>
249249
{{/tab1}}
250250
{{#tab2}}
251251
<div class=actions>
252-
<a id=action-new class=action>
252+
<a id=action-new-scene class=action>
253253
<div class=border></div>
254254
<div class=icon>
255255
<i class="fal fa-sparkles"></i>

0 commit comments

Comments
 (0)