From 41da624243ac91f6b1c09b6b0ecfc651b7b5bf71 Mon Sep 17 00:00:00 2001 From: "Nicolas A. Tonne" Date: Wed, 6 May 2015 13:26:38 +0200 Subject: [PATCH] Autofocus chan form --- static/js/nochan.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/nochan.js b/static/js/nochan.js index fb9836b8..d9e8a740 100755 --- a/static/js/nochan.js +++ b/static/js/nochan.js @@ -75,6 +75,8 @@ $(document).ready(function (){ list_html = $("#channels").html(); $("#channels").empty(); + $("#search").focus(); + var socket = io.connect('http://'+window.location.hostname+':3000'); var playlists = []; socket.emit('frontpage_lists');