1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 16:04:11 +01:00

remove some ancient cruft

This commit is contained in:
Doug Kearns
2008-12-19 23:09:37 +11:00
committed by Kris Maglione
parent 01a7ead528
commit 98cc66c569

View File

@@ -1339,25 +1339,7 @@ function Events() //{{{
return false;
}
// // FIXME: handle middle click in content area {{{
// // alert(event.target.id);
// if (/*event.type == 'mousedown' && */event.button == 1 && event.target.id == 'content')
// {
// //echo("foo " + event.target.id);
// //if (document.commandDispatcher.focusedElement == command_line.inputField)
// {
// //alert(command_line.value.substring(0, command_line.selectionStart));
// command_line.value = command_line.value.substring(0, command_line.selectionStart) +
// window.readFromClipboard() +
// command_line.value.substring(command_line.selectionEnd, command_line.value.length);
// alert(command_line.value);
// }
// //else
// // {
// // openURLs(window.readFromClipboard());
// // }
// return true;
// } }}}
// TODO: handle middle click in content area
if (key != "<Esc>" && key != "<C-[>")
{