Fix for Evennia issue #2611
This commit is contained in:
parent
8486905a66
commit
7a34be7657
1 changed files with 8 additions and 0 deletions
|
|
@ -17,6 +17,14 @@ let defaultInPlugin = (function () {
|
||||||
inputfield = $("#inputfield:focus");
|
inputfield = $("#inputfield:focus");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allows you to copy from panels.
|
||||||
|
// Ignore textfocus if Ctrl + C (Or Mac Command Key + C Pressed.)
|
||||||
|
if ((event.ctrlKey || event.metaKey) && event.keyCode == 67) {
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
// Continue
|
||||||
|
}
|
||||||
|
|
||||||
// check for important keys
|
// check for important keys
|
||||||
switch (event.which) {
|
switch (event.which) {
|
||||||
case 9: // ignore tab key -- allows normal focus control
|
case 9: // ignore tab key -- allows normal focus control
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue