summaryrefslogtreecommitdiff
path: root/misc/chrome/gophertool/gopher.js
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-05-17 04:22:44 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-05-17 04:22:44 +0800
commit661cb7e893b89d5ead7ccfc78ff812c40efc30a5 (patch)
tree7b089158a50865776421bb3d307c49c00a9c2d9d /misc/chrome/gophertool/gopher.js
parent29c97722cec1ca0924a17a530439bf7c12b32fee (diff)
downloadgo-661cb7e893b89d5ead7ccfc78ff812c40efc30a5.tar.gz
misc/chrome/gophertool: lower CL number's lower bound and fix input focus on Mac
As our CL number could be as small as 152046, changed CL number's lower bound to 150000. Hopefully our issue count won't reach 150000 any time soon. Chrome on Mac OS X has very strange behavior regarding the focus, although we force the focus to the input box on load, the page still come up with focus on "issue". Set the tabindex of the input box as a workaround. R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/6212055
Diffstat (limited to 'misc/chrome/gophertool/gopher.js')
-rw-r--r--misc/chrome/gophertool/gopher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/chrome/gophertool/gopher.js b/misc/chrome/gophertool/gopher.js
index 847c1c70d..3238f0fcc 100644
--- a/misc/chrome/gophertool/gopher.js
+++ b/misc/chrome/gophertool/gopher.js
@@ -12,7 +12,7 @@ function urlForInput(t) {
}
if (numericRE.test(t)) {
- if (t < 1000000) {
+ if (t < 150000) {
return "http://code.google.com/p/go/issues/detail?id=" + t;
}
return "http://codereview.appspot.com/" + t + "/";