Skip to content

Commit fca7267

Browse files
committed
minor changes to readme
1 parent 05e5efa commit fca7267

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Say we have some HTML elements that we want to attach a popup menu to:
3636
</div>
3737
```
3838

39-
now we can enable a context menu like so:
39+
Now we can enable a context menu like so:
4040

4141
```js
4242
$("#container").contextmenu({
@@ -262,6 +262,7 @@ $(document).contextmenu({
262262
<dd>
263263
Replace the whole menu definition.<br>
264264
Call like <code>$(...).contextmenu("replaceMenu", "#menu2");</code>.
265+
or <code>$(...).contextmenu("replaceMenu", [{title: "aaa"}, {title: "bbb"}, ...]);</code>.
265266
</dd>
266267
<dt>setEntry(cmd, data)</dt>
267268
<dd>
@@ -342,9 +343,7 @@ $("#container").bind("contextmenuselect", function(event, ui) {
342343
343344
# Credits
344345
345-
Thanks to all contributors:
346-
347-
<https://github.com/mar10/jquery-ui-contextmenu/graphs/contributors>
346+
Thanks to all [contributors](https://github.com/mar10/jquery-ui-contextmenu/contributors).
348347
349348
350349
# Browser Status Matrix

0 commit comments

Comments
 (0)