diff --git a/www/profile/main.js b/www/profile/main.js index 41a251d36..c19843948 100644 --- a/www/profile/main.js +++ b/www/profile/main.js @@ -400,16 +400,6 @@ define([ $container.append($block); }; - var hideCategories = function () { - APP.$rightside.find('> div').hide(); - }; - var showCategories = function (cat) { - hideCategories(); - cat.forEach(function (c) { - APP.$rightside.find('.'+c).show(); - }); - }; - var createLeftside = function () { var $categories = $('
', {'class': 'categories'}).appendTo(APP.$leftside); APP.$usage = $('
', {'class': 'usage'}).appendTo(APP.$leftside); @@ -531,7 +521,7 @@ define([ var onCryptpadReady = function () { APP.$leftside = $('
', {id: 'leftSide'}).appendTo(APP.$container); - var $rightside = APP.$rightside = $('
', {id: 'rightSide'}).appendTo(APP.$container); + APP.$rightside = $('
', {id: 'rightSide'}).appendTo(APP.$container); createToolbar();