Skip to content

Commit b0dc4eb

Browse files
committed
Issue swisnl#89 - properly position submenu when there's not enough space
1 parent 5ac410a commit b0dc4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.contextMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ var // currently active contextMenu trigger
156156
my: "left top",
157157
at: "right top",
158158
of: this,
159-
collision: "fit"
159+
collision: "flipfit fit"
160160
}).css('display', '');
161161
} else {
162162
// determine contextMenu position

0 commit comments

Comments
 (0)