aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/js/bug-page-mod.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/bug-page-mod.js b/data/js/bug-page-mod.js
index afb1e1a..3c9b410 100644
--- a/data/js/bug-page-mod.js
+++ b/data/js/bug-page-mod.js
@@ -67,7 +67,7 @@ function tweakBugzilla(d) {
// if they have scrolled the page, in which case we assume that they
// are using the page, or if they've selected anything on the page.)
if (d.defaultView.scrollY > 0 ||
- d.defaultView.getSelection() == "") {
+ d.defaultView.getSelection().rangeCount > 0) {
cancelRedirection();
} else {
d.location.href = url;