Stop pushing Youtube to last position
This commit is contained in:
parent
a6bca5536f
commit
be8236a428
1 changed files with 0 additions and 2 deletions
|
@ -15,8 +15,6 @@ var formatAndSort = function(matches, serviceId) {
|
||||||
matches = Object.keys(matches).map(function (key) {return matches[key]});
|
matches = Object.keys(matches).map(function (key) {return matches[key]});
|
||||||
matches.sort(function(a, b) {
|
matches.sort(function(a, b) {
|
||||||
return a.id && !b.id;
|
return a.id && !b.id;
|
||||||
}).sort(function(a, b) {
|
|
||||||
return b.type == "video";
|
|
||||||
}).sort(function(a, b) {
|
}).sort(function(a, b) {
|
||||||
return a.service != serviceId;
|
return a.service != serviceId;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue