Skip to content

Commit a8a93e1

Browse files
committed
Merge pull request #313 from RareDevil/fixedInputTypes
Changed the defuat types. Now the span is inside the label
2 parents 942386a + 900c8e7 commit a8a93e1

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
@@ -1098,7 +1098,7 @@
10981098
$t.addClass('context-menu-html ' + root.classNames.notSelectable);
10991099
} else if (item.type) {
11001100
$label = $('<label></label>').appendTo($t);
1101-
createNameNode(item).appendTo($t);
1101+
createNameNode(item).appendTo($label);
11021102

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

0 commit comments

Comments
 (0)