From 9c1266e88909a45cef469f5375e6165623a34f1e Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 9 Aug 2007 14:25:20 +0000 Subject: [PATCH] don't output status messages when history bounds are exceeded - just beep --- chrome/content/vimperator/bookmarks.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/chrome/content/vimperator/bookmarks.js b/chrome/content/vimperator/bookmarks.js index 7320b7ea..96cc74e0 100644 --- a/chrome/content/vimperator/bookmarks.js +++ b/chrome/content/vimperator/bookmarks.js @@ -423,10 +423,6 @@ function History() //{{{ else { vimperator.beep(); - if (index < 0) - vimperator.echo("Cannot go past beginning of history"); - else - vimperator.echo("Cannot go past end of history"); } } @@ -435,7 +431,7 @@ function History() //{{{ var index = getWebNavigation().sessionHistory.index; if (index == 0) { - vimperator.echo("Already at beginning of history"); + vimperator.beep(); return; } getWebNavigation().gotoIndex(0); @@ -447,7 +443,7 @@ function History() //{{{ var max = getWebNavigation().sessionHistory.count -1; if (index == max) { - vimperator.echo("Already at end of history"); + vimperator.beep(); return; } getWebNavigation().gotoIndex(max);