From 35d58590b0e09e88c92ca3d49b5ba3b1ff622665 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Sun, 30 Jan 2011 18:04:45 -0800 Subject: Make "d" and "u" scroll up and down a page instead of closing and restoring tabs. This implements #274. The motivation behind this change is that scrolling a page is far more common than closing a tab, and so those actions should be on a hotkey which doesn't require a modifier. Once you get used to scrolling without hitting ctrl, you won't be able to go back. For existing users, this change also adds a custom mapping for them in their preferences to preserve the old behavior as they upgrade from 1.21 to 1.22. --- options.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.html') diff --git a/options.html b/options.html index 344fc01d..bfa01450 100644 --- a/options.html +++ b/options.html @@ -83,7 +83,7 @@ "userDefinedLinkHintCss", "keyMappings"]; var postSaveHooks = { - "keyMappings": function (value) { + keyMappings: function (value) { backgroundPage = chrome.extension.getBackgroundPage(); backgroundPage.clearKeyMappingsAndSetDefaults(); backgroundPage.parseCustomKeyMappings(value); -- cgit v1.2.3