Skip to content

Commit c276fde

Browse files
committed
Update README.md
1 parent f8011a4 commit c276fde

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,12 @@ structure (see [jQueryUI menu] for details):
134134
Type: <code>Object | Function</code>, default: <code>{my: "left top", at: "left bottom", of: parentTarget, collision: "fit"}</code><br>
135135
Define position where popup opens. A simple <a href="http://api.jqueryui.com/position/">position</a> may be passed.<br>
136136
Also a function may be specified, to recalculate position every time:<br>
137-
<pre><code>
137+
<pre>
138138
$("#container").contextmenu({
139139
// position: {my: "left bottom", at: "right top"},
140140
position: function(event, ui){
141141
return {my: "left top", at: "center", of: event};
142-
},
143-
</code></pre>
142+
},...</pre>
144143
</dd>
145144
<dt>preventSelect</dt>
146145
<dd>

0 commit comments

Comments
 (0)