From 72b55b7c5d106cc915fa9dc0467f04132542c8ae Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Fri, 30 Aug 2024 10:42:29 +0000 Subject: [PATCH] main: minor bugfix --- com/isoterminal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com/isoterminal.js b/com/isoterminal.js index f707d87..d50e382 100644 --- a/com/isoterminal.js +++ b/com/isoterminal.js @@ -108,8 +108,8 @@ AFRAME.registerComponent('isoterminal', { } let image = {} - if( this.data.iso.match(/\.iso$/) ) image.cdrom = { url: this.data.iso } - if( this.data.iso.match(/\.bin$/) ) image.bzImage.url = this.data.iso + if( this.data.iso.match(/\.iso$/) ) image.cdrom = { url: this.data.iso } + if( this.data.iso.match(/\.bin$/) ) image.bzImage = { url: this.data.iso } var emulator = window.emulator = dom.emulator = new V86({ ...image, wasm_path: "com/isoterminal/v86.wasm",