Skip to content

Commit

Permalink
Change event listener from click to change on import buttons
Browse files Browse the repository at this point in the history
Fixes #326
  • Loading branch information
reconman committed Oct 11, 2020
1 parent a8b2678 commit d0d960e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "SaltBot",
"description": "This extension automates betting on SaltyBet.com.",
"version": "2.6.3",
"version": "2.6.4",
"permissions": [
"storage",
"unlimitedStorage",
Expand Down
4 changes: 2 additions & 2 deletions dist/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h2 class="subheading">Chromosomes Management</h2>
<div id="bec" class="btn btn-inline btn-small btn-success" data-bind="click: ecClick">
Export
</div>
<div id="bic" class="btn btn-inline btn-small btn-success" style="position: relative; width: 45px" data-bind="click: icClick">
<div id="bic" class="btn btn-inline btn-small btn-success" style="position: relative; width: 45px" data-bind="event: { change: icClick }">
<span style="top: 5px; left:3px ;">Import</span>
</div>
<input type="file" id="upload_c" style="display: none">
Expand All @@ -99,7 +99,7 @@ <h2 class="subheading">Records Management</h2>
<div id="bir" class="btn btn-inline btn-small btn-success" style="position: relative; width: 45px;">
<span id="text_upload_r" style="top: 5px; left:3px ;">Import</span>
</div>
<input type="file" id="upload_r" style="display: none" data-bind="click: irClick">
<input type="file" id="upload_r" style="display: none" data-bind="event: { change: irClick }">

<h2 class="subheading">Options</h2>
<div id="tv" class="btn btn-inline btn-small btn-success" data-bind="click: tvClick">
Expand Down

0 comments on commit d0d960e

Please sign in to comment.