From 289fff11921cc6e89773ae1d0124d29837199f0f Mon Sep 17 00:00:00 2001 From: "rbs%maths.uq.edu.au" Date: Thu, 14 Sep 2006 06:10:03 +0000 Subject: [PATCH] Goto Line (Ctrl+L) in view-source couldn't go to the last line, b=253905, r+sr=bzbarsky --- suite/browser/viewsource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/browser/viewsource.js b/suite/browser/viewsource.js index 7b4a0c2c823c..f69683cae5d1 100644 --- a/suite/browser/viewsource.js +++ b/suite/browser/viewsource.js @@ -526,7 +526,7 @@ function findLocation(pre, line, node, offset, interlinePosition, result) } } - return found; + return found || ("range" in result); } //function to toggle long-line wrapping and set the view_source.wrap_long_lines