1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 19:14:06 +02:00

Fix accidentally deleted line

This commit is contained in:
Anton Romanov
2015-09-17 16:27:57 -07:00
parent b12df536ad
commit f2c652c1e9

View File

@@ -268,8 +268,7 @@ Tomahawk.Resolver = Tomahawk.extend(TomahawkResolver, {
var merged = [];
return merged.concat.apply(merged,collectionResults);
}).then(function(collectionResults) {
if(typeof results === 'undefined')
results = [];
Promise.resolve(that.resolve({artist: artist, album: album, track:title})).then(function(results){
Tomahawk.addTrackResults({
'qid': qid,
'results': that._convertUrls(results.concat(collectionResults))