aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/js.js b/web/js.js
index 860da3323..bded26a84 100644
--- a/web/js.js
+++ b/web/js.js
@@ -9,6 +9,12 @@
*
*/
+YAHOO.util.Event.onContentReady('pc', function() {
+ if (this.value != this.defaultValue) {
+ this.focus();
+ }
+});
+
function compass_pan(e, a) {
YAHOO.util.Event.preventDefault(e);
pan(a.x, a.y);