Skip to content

Commit

Permalink
Merge pull request hokein#27 from styfle/patch-1
Browse files Browse the repository at this point in the history
Fix for addSource()
  • Loading branch information
hokein committed Apr 13, 2016
2 parents 9b5dd92 + d64adec commit 0ffc12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop-capture/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function addSource(source) {
value: source.id.replace(":", ""),
text: source.name
}));
$('select option[value=' + source.id.replace(":", "") + ']').attr('data-img-src', source.thumbnail.toDataUrl());
$('select option[value="' + source.id.replace(":", "") + '"]').attr('data-img-src', source.thumbnail.toDataUrl());
refresh();
}

Expand Down

0 comments on commit 0ffc12a

Please sign in to comment.