mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:07:59 +01:00
Fixed some focus issues
First (non-working) readMultiline implementation
This commit is contained in:
@@ -1366,7 +1366,8 @@ function updateBufferList()
|
||||
|
||||
function scrollBufferRelative(right, down)
|
||||
{
|
||||
var win = document.commandDispatcher.focusedWindow;
|
||||
//var win = window.document.commandDispatcher.focusedWindow;
|
||||
var win = window.content;
|
||||
if (vimperator.input.count < 1)
|
||||
vimperator.input.count = 1;
|
||||
|
||||
@@ -1395,7 +1396,8 @@ function scrollBufferRelative(right, down)
|
||||
/* both values are given in percent, -1 means no change */
|
||||
function scrollBufferAbsolute(horizontal, vertical)
|
||||
{
|
||||
var win = document.commandDispatcher.focusedWindow;
|
||||
//var win = document.commandDispatcher.focusedWindow;
|
||||
var win = window.content;
|
||||
var horiz, vert;
|
||||
|
||||
if (horizontal < 0)
|
||||
|
||||
Reference in New Issue
Block a user