aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/redirector.js
diff options
context:
space:
mode:
authorEinar Egilsson2008-01-29 09:00:28 +0000
committerEinar Egilsson2008-01-29 09:00:28 +0000
commitcc7dfef00527e7126caae3c808dd6b8b69d62391 (patch)
tree5b708900e61291e3c20318685f33572fb74cdac0 /chrome/content/redirector.js
parentbcbcd61eb9fc91a9ed1b3096ce9f2b686a2114b9 (diff)
Redirector 1.5.2
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@107 119bf307-c92d-0410-89bd-8f53e6181181
Diffstat (limited to 'chrome/content/redirector.js')
-rw-r--r--chrome/content/redirector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/content/redirector.js b/chrome/content/redirector.js
index 98d1c4b..fb902f6 100644
--- a/chrome/content/redirector.js
+++ b/chrome/content/redirector.js
@@ -214,7 +214,7 @@ var Redirector = {
part = parts[i];
- pos = text.indexOf(part);
+ pos = text.lastIndexOf(part);
if (pos == -1) {
return null;