about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/main.js b/scripts/main.js
index 242cd54..81771e5 100644
--- a/scripts/main.js
+++ b/scripts/main.js
@@ -90,6 +90,9 @@
 		// functionality
 		load_clients();
 		window.addEventListener("hashchange", rehash, false);
+		document.getElementById("url_in").addEventListener("focus", function(event) {
+			event.target.select();
+		});
 	}
 
 	// Wait for the DOM to be ready