From 8fb5762eeaaaa69ed5117139e40cf880d2003bff Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 12 Jul 2017 18:51:16 +0200 Subject: [PATCH] Lint errors --- www/profile/main.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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();