From dc48e3e2c6c5506bc58c19d075dde4ca025d1ac8 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Wed, 21 Sep 2016 13:51:07 +0200 Subject: [PATCH] Removing unncesary console.log --- app/coffee/modules/common/wisiwyg.coffee | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/coffee/modules/common/wisiwyg.coffee b/app/coffee/modules/common/wisiwyg.coffee index 15c0d689..ee143b59 100644 --- a/app/coffee/modules/common/wisiwyg.coffee +++ b/app/coffee/modules/common/wisiwyg.coffee @@ -442,16 +442,13 @@ MarkitupDirective = ($rootscope, $rs, $selectedText, $template, $compile, $trans $rs.search.do($scope.projectId || $scope.vm.projectId, term).then (res) => if res.count < 1 - console.log 1 callback([]) if res.count < 1 or not res.wikipages or res.wikipages.length <= 0 - console.log 2 callback([]) else callback res.wikipages.filter((page) => - console.log 3 return taiga.slugify(page['slug']).indexOf(term) >= 0 ), true