Fixed close button on submission confirmation notice

This commit is contained in:
Ajay Ramachandran
2020-04-02 00:44:38 -04:00
parent 8ecea87c52
commit 72c98923f6
3 changed files with 16 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
<span id={"nowButton0" + this.idSuffix}
className="sponsorNowButton"
onClick={(() => this.setTimeToNow.bind(this)(0)).bind(this)}>
onClick={() => this.setTimeToNow(0)}>
{chrome.i18n.getMessage("bracketNow")}
</span>
@@ -122,7 +122,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
<span id={"nowButton1" + this.idSuffix}
className="sponsorNowButton"
onClick={(() => this.setTimeToNow.bind(this)(1)).bind(this)}>
onClick={() => this.setTimeToNow(1)}>
{chrome.i18n.getMessage("bracketNow")}
</span>
</div>