Skip to content

Commit 24be92c

Browse files
authored
Update README.md
1 parent 7f52243 commit 24be92c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Img-checkbox is a jQuery-based replacement for input checkboxes. It supports ima
2222
**Add figure component**
2323

2424
```html
25-
<figure>
25+
<figure class="imgcheckbox">
2626
<div class="figure-content"><img src="img/Delete.png"></div>
2727
<figcaption><img src="holder.js/50x50"></figcaption>
2828
<label><input type="checkbox" name="name"> Label</label>
@@ -32,13 +32,13 @@ Img-checkbox is a jQuery-based replacement for input checkboxes. It supports ima
3232
**Activate plugin with default options**
3333

3434
```js
35-
$('figure').imgCheckbox()
35+
$('.imgcheckbox').imgCheckbox()
3636
```
3737

38-
**Or activate plugin with some options**
38+
**Or activate plugin with other options**
3939

4040
```js
41-
$('figure').imgCheckbox({
41+
$('.imgcheckbox').imgCheckbox({
4242
width: 'auto',
4343
height: 'auto',
4444
textColor: 'white',

0 commit comments

Comments
 (0)