We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97ae461 commit 7bdd734Copy full SHA for 7bdd734
dist/jquery.contextMenu.js
@@ -12,7 +12,7 @@
12
* MIT License http://www.opensource.org/licenses/mit-license
13
* GPL v3 http://opensource.org/licenses/GPL-3.0
14
*
15
- * Date: 2015-09-11T19:12:25.157Z
+ * Date: 2015-09-11T19:40:21.884Z
16
*/
17
18
@@ -145,8 +145,8 @@
145
// correct offset if viewport demands it
146
var bottom = $win.scrollTop() + $win.height(),
147
right = $win.scrollLeft() + $win.width(),
148
- height = opt.$menu.height(),
149
- width = opt.$menu.width();
+ height = opt.$menu.outerHeight(),
+ width = opt.$menu.outerWidth();
150
151
if (offset.top + height > bottom) {
152
offset.top -= height;
0 commit comments