mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Remove JS for search input autofocus
Previously replaced by HTML5 autofocus.
This commit is contained in:
parent
9dc698e775
commit
67f33b3e39
1 changed files with 1 additions and 7 deletions
|
|
@ -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();');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue