Remove JS for search input autofocus

Previously replaced by HTML5 autofocus.
This commit is contained in:
Robin Dickson 2016-06-06 16:28:14 +01:00
parent 9dc698e775
commit 67f33b3e39

View file

@ -894,12 +894,6 @@ var RecurringTodosPage = {
}
};
var SearchPage = {
setup_behavior: function() {
$('#search-form #search').focus();
}
};
/**************************************/
/* generic Tracks functions */
/**************************************/
@ -1145,7 +1139,7 @@ $(document).ready(function() {
/* enable page specific behavior */
$([ 'PreferencesPage', 'NotesPage', 'ProjectListPage', 'ContextListPage',
'FeedsPage', 'RecurringTodosPage', 'TodoItems', 'TracksPages',
'TracksForm', 'SearchPage', 'UsersPage' ]).each(function() {
'TracksForm', 'UsersPage' ]).each(function() {
eval(this+'.setup_behavior();');
});