mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
minor cleanup
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
'jquery',
|
||||
'Series/SeriesCollection'
|
||||
], function (Backbone, SeriesCollection) {
|
||||
$(document).on('keydown', function (e){
|
||||
], function (Backbone, $, SeriesCollection) {
|
||||
$(document).on('keydown', function (e) {
|
||||
if ($(e.target).is('input')) {
|
||||
return;
|
||||
}
|
||||
@@ -17,7 +18,7 @@ define(
|
||||
|
||||
$.fn.bindSearch = function () {
|
||||
$(this).typeahead({
|
||||
source : function () {
|
||||
source: function () {
|
||||
return SeriesCollection.pluck('title');
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user