From e0019128a04933870c74740b47016cfed85e6065 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 2 May 2024 12:12:44 -0700 Subject: Fix bad path set for object data prop --- public/index.html | 10 +++++----- src/index.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/index.html b/public/index.html index 03a4d53..7b45d65 100644 --- a/public/index.html +++ b/public/index.html @@ -120,7 +120,7 @@ ◓ ◒ - Change scenario + Change map Prone: @@ -176,11 +176,11 @@ - Scenario: + Map: - Scenario 1: Side Show - Scenario 2: Dragon Hunting - Scenario 3: Race Against Time + BattleTroops Scenario 1: Side Show + BattleTroops Scenario 2: Dragon Hunting + BattleTroops Scenario 3: Race Against Time Test diff --git a/src/index.js b/src/index.js index 01ebd89..1f8f2c1 100644 --- a/src/index.js +++ b/src/index.js @@ -132,5 +132,5 @@ object.addEventListener('load', load); objectDataObserver.observe(object, { attributeFilter: ['data'] }); if (object.getAttribute('data') !== fileName) { - object.data = `assets/images/${fileName}`; + object.data = fileName; } -- cgit v1.2.3