index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-02 12:12:44 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-02 12:12:44 -0700 |
commit | e0019128a04933870c74740b47016cfed85e6065 (patch) | |
tree | 0042f859231a52024dd7d472170cdde1276f730d /src/index.js | |
parent | 0e2ddffc82a8fed48d5edd7be42be1d06a035314 (diff) |
Fix bad path set for object data prop
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |