Skip to content

Commit 900c8e7

Browse files
committed
Changed the defuat types. Now the span is inside the label
1 parent 0f6e1e7 commit 900c8e7

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
@@ -1090,7 +1090,7 @@
10901090
$t.addClass('context-menu-html ' + root.classNames.notSelectable);
10911091
} else if (item.type) {
10921092
$label = $('<label></label>').appendTo($t);
1093-
createNameNode(item).appendTo($t);
1093+
createNameNode(item).appendTo($label);
10941094

10951095
$t.addClass('context-menu-input');
10961096
opt.hasTypes = true;

0 commit comments

Comments
 (0)