diff options
Diffstat (limited to 'examples/config')
-rw-r--r-- | examples/config/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/config/config b/examples/config/config index 06cbea0..1a09d65 100644 --- a/examples/config/config +++ b/examples/config/config @@ -91,7 +91,7 @@ set download_handler = sync_spawn @scripts_dir/download.sh #@on_event CONFIG_CHANGED print Config changed: %1 = %2 # Scroll percentage calculation -@on_event SCROLL_VERT set scroll_message = \@<(function(){var p='--';if(%3!=%2){p=(%1/(%3-%2));p=Math.round(10000*p)/100;};return p+'%';})()>\@ +@on_event SCROLL_VERT set scroll_message = \@<(function(){var p='--';if(%3<=%4){p=(%1/(%3-%4));p=Math.round(10000*p)/100;};return p+'%';})()>\@ # === Behaviour and appearance =============================================== |