Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/index.html10
-rw-r--r--src/index.js2
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 @@
<span class="inning-top">◓</span>
<span class="inning-bottom">◒</span>
</span>
- <button id="show-dialog">Change scenario</button>
+ <button id="show-dialog">Change map</button>
<span style="white-space: nowrap;">
Prone: <input type="checkbox" id="toggle-prone-counter" />
<button type="button" class="set-firing-arc" data-size="small">
@@ -176,11 +176,11 @@
<form>
<p>
<label>
- Scenario:
+ Map:
<select>
- <option value="map1">Scenario 1: Side Show</option>
- <option value="map2">Scenario 2: Dragon Hunting</option>
- <option value="map3">Scenario 3: Race Against Time</option>
+ <option value="map1">BattleTroops Scenario 1: Side Show</option>
+ <option value="map2">BattleTroops Scenario 2: Dragon Hunting</option>
+ <option value="map3">BattleTroops Scenario 3: Race Against Time</option>
<option value="map4">Test</option>
</select>
</label>
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;
}