Skip to content

Commit

Permalink
Don't allow duplicate IDs for Add Media button.
Browse files Browse the repository at this point in the history
See #109, #107.
  • Loading branch information
boonebgorges committed May 1, 2018
1 parent 88cd43b commit 0fa44a9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39447,7 +39447,6 @@ class Uploader extends __WEBPACK_IMPORTED_MODULE_0_react__["Component"] {
"button",
{
className: "question-form-upload-button",
id: "insert-media-button",
onClick: function (e) {
e.preventDefault();
onUploadClick();
Expand Down
2 changes: 1 addition & 1 deletion build/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/components/Uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default class Uploader extends Component {
return (
<button
className="question-form-upload-button"
id="insert-media-button"
onClick={function(e){
e.preventDefault()
onUploadClick()
Expand Down

0 comments on commit 0fa44a9

Please sign in to comment.