From cd3859fd18ff747a349a3ffaaff48b99d54aa192 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Sun, 17 Jan 2010 23:26:37 -0800 Subject: Add a 'restore to defaults' button on the options page --- options.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/options.html b/options.html index 23acd20a..d349ce63 100644 --- a/options.html +++ b/options.html @@ -62,6 +62,12 @@ document.getElementById("defaultZoomLevel").value = defaultZoomLevel; document.getElementById("excludedUrls").value = defaultExcludedUrls; } + + function restoreToDefaults() { + scrollStepSize.value = "60"; + defaultZoomLevel.value = "100"; + excludedUrls.value = ""; + } @@ -69,12 +75,12 @@ - + - + @@ -94,6 +100,7 @@
Scroll Step Sizepxpx (default: 60)
Default zoom level%% (default: 100)
+ -- cgit v1.2.3