mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 04:27:58 +01:00
reverted scroll window.content patch for now (untested)
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -12,4 +12,5 @@ Patches:
|
||||
* Lee Hinman (:open ./.. support)
|
||||
* Bart Trojanowski (Makefile)
|
||||
* Hannes Rist (:set titlestring support)
|
||||
* Marco Candrian (shift-insert patch)
|
||||
</pre>
|
||||
|
||||
@@ -1299,8 +1299,8 @@ function getCurrentTitle()
|
||||
|
||||
function scrollBufferRelative(right, down)
|
||||
{
|
||||
//var win = window.document.commandDispatcher.focusedWindow;
|
||||
var win = window.content;
|
||||
var win = window.document.commandDispatcher.focusedWindow;
|
||||
//var win = window.content; // XXX: This would fix scrolling when the tab has focus, but breaks when it has frames --MST
|
||||
if (vimperator.input.count < 1)
|
||||
vimperator.input.count = 1;
|
||||
|
||||
@@ -1329,8 +1329,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 = window.content;
|
||||
var win = document.commandDispatcher.focusedWindow;
|
||||
//var win = window.content;
|
||||
var horiz, vert;
|
||||
|
||||
if (horizontal < 0)
|
||||
|
||||
Reference in New Issue
Block a user