mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 08:05:47 +01:00
remove some ancient cruft
This commit is contained in:
@@ -1339,25 +1339,7 @@ function Events() //{{{
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// // FIXME: handle middle click in content area {{{
|
// TODO: 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;
|
|
||||||
// } }}}
|
|
||||||
|
|
||||||
if (key != "<Esc>" && key != "<C-[>")
|
if (key != "<Esc>" && key != "<C-[>")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user