From ccd759cc3f2b7719ecf888abb9fd421ef360993c Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 3 Jul 2013 12:23:13 -0400 Subject: [PATCH] Remove dead code related to showing bots. (The dead code made sense in the very early phases of sketching out the feature, but it's no longer executed.) (imported from commit 464145f227ddb25f0554bbbade0b0e3e0e399bc3) --- zephyr/static/js/settings.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/zephyr/static/js/settings.js b/zephyr/static/js/settings.js index 571bf21c93..898fcd697b 100644 --- a/zephyr/static/js/settings.js +++ b/zephyr/static/js/settings.js @@ -5,11 +5,7 @@ var exports = {}; function add_bot_row(name, email, avatar_url, api_key) { var avatar_cell; - if (avatar_url) { - avatar_cell = $('').attr('src', avatar_url).attr('class', 'avatar'); - } else { - avatar_cell = '(default)'; - } + avatar_cell = $('').attr('src', avatar_url).attr('class', 'avatar'); var row = $('').append($('').text(name), $('').text(email),