From ab48ccc0d0415fbbb2f56e2ddeda9057fbb48874 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Wed, 3 Dec 2014 16:19:30 +0100 Subject: [PATCH] Focus input field instead of button. --- static/js/directives/page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/directives/page.js b/static/js/directives/page.js index 82e4846b..7e438f2c 100644 --- a/static/js/directives/page.js +++ b/static/js/directives/page.js @@ -36,7 +36,7 @@ define(['text!partials/page.html', 'text!partials/page/welcome.html'], function( $scope.page = "page/welcome.html"; $scope.roomdata = roomdata; $timeout(function() { - $element.find(".btn-roomcreate:visible:enabled:first").focus(); + $element.find(".roomdata-link-input:visible:enabled:first").focus(); }); });