Skip to content

Commit

Permalink
Merge pull request #1340 from ndjamenamarmon/medium-editor#1275
Browse files Browse the repository at this point in the history
Add label-checkbox relation in CreateLink form #1275
  • Loading branch information
j0k3r authored Jun 26, 2017
2 parents 2fc300c + 441766c commit ac28fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/extensions/anchor.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
// figure out how to deprecate? also consider `fa-` icon default implcations.
template.push(
'<div class="medium-editor-toolbar-form-row">',
'<input type="checkbox" class="medium-editor-toolbar-anchor-target">',
'<label>',
'<input type="checkbox" class="medium-editor-toolbar-anchor-target" id="medium-editor-toolbar-anchor-target-field-' + this.getEditorId() + '">',
'<label for="medium-editor-toolbar-anchor-target-field-' + this.getEditorId() + '">',
this.targetCheckboxText,
'</label>',
'</div>'
Expand Down

0 comments on commit ac28fa4

Please sign in to comment.