Skip to content

Commit 2366519

Browse files
committed
More last-minute updates
1 parent fe6efd5 commit 2366519

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ class Game extends Page {
532532

533533
// organizer
534534
if (characterManager.character.role === 1) {
535-
document.getElementById('edit-button').style.display = 'block';
535+
// document.getElementById('edit-button').style.display = 'block';
536536
}
537537

538538
// sponsor

src/js/components/sponsorPanel.js

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class SponsorPanel {
4545
document.getElementById('sponsor-description-field').value =
4646
msg.sponsor.description;
4747
document.getElementById('sponsor-url-field').value = msg.sponsor.url || '';
48-
document.getElementById('sponsor-challenges-field').value = msg.sponsor.challenges;
4948
break;
5049
default:
5150
break;
@@ -181,18 +180,6 @@ class SponsorPanel {
181180
rows="6"
182181
/>
183182
</div>
184-
<div className="field">
185-
<p>
186-
Challenges: A description of the challenge(s) you're offering
187-
this weekend, including any relevant details, criteria, and
188-
prizes.
189-
</p>
190-
<textarea
191-
id="sponsor-challenges-field"
192-
placeholder="We're looking for the best hacks that teach financial literacy!&#10;&#10;Prize: $100 Amazon gift card for each team member"
193-
rows="6"
194-
/>
195-
</div>
196183
<div className="field">
197184
<p>
198185
URL: The URL hackers will be redirected to when clicking on the
@@ -219,9 +206,7 @@ class SponsorPanel {
219206
description: document.getElementById(
220207
'sponsor-description-field'
221208
).value,
222-
challenges: document.getElementById(
223-
'sponsor-challenges-field'
224-
).value,
209+
challenges: '',
225210
url,
226211
});
227212
document

0 commit comments

Comments
 (0)