Skip to content

Commit 6dd29c3

Browse files
committed
Fix README
1 parent 22f5192 commit 6dd29c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,11 @@ $('select').on('eventname', function(element){
417417
Check [jquery.selectric.placeholder.js](plugins/jquery.selectric.placeholder.js) source for a usage example
418418

419419
```js
420-
// Add a callback everytime '<i>callbackName</i>' is called
421-
$.fn.selectric.hooks.add('<i>callbackName</i>', '<i>hookName</i>', function(element, data) {});
420+
// Add a callback everytime 'callbackName' is called
421+
$.fn.selectric.hooks.add('callbackName', 'hookName', function(element, data) {});
422422

423423
// Remove a callback
424-
$.fn.selectric.hooks.remove('<i>callbackName</i>', '<i>hookName</i>');
424+
$.fn.selectric.hooks.remove('callbackName', 'hookName');
425425
```
426426

427427

0 commit comments

Comments
 (0)