Skip to content
Snippets Groups Projects
Commit 8dc6998b authored by Demian Katz's avatar Demian Katz
Browse files

Add function name.

parent 6890cb5d
No related merge requests found
......@@ -86,7 +86,7 @@ function bindChannelAddMenu(iteration, scope) {
$.ajax(e.target.href).done(function addChannelAjaxDone(data) {
var list = $(e.target).closest('.dropdown-menu');
var $testEls = $('<div>' + data + '</div>').find('.channel-wrapper');
$testEls.each(function (i, element) {
$testEls.each(function addRetrievedNonEmptyChannels(i, element) {
var $testEl = $(element);
// Make sure the channel has content
if ($testEl.find('.channel-record').length === 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment