Browse Source

Focus input field instead of button.

pull/156/head
Simon Eisenmann 11 years ago
parent
commit
ab48ccc0d0
  1. 2
      static/js/directives/page.js

2
static/js/directives/page.js

@ -36,7 +36,7 @@ define(['text!partials/page.html', 'text!partials/page/welcome.html'], function( @@ -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();
});
});

Loading…
Cancel
Save