         $("#search").keyup (e) ->
           $("#search-result").empty()
           string = $(e.target).val().toLowerCase()
-          return if string.length <= 0
+          if string.length <= 0
+            $("#search-result").css 'display', 'none'
+            return
+          $("#search-result").css 'display', 'block'
           regex = new RegExp string, "i"
           $tpl ="""
 <div class='result'>

                        .replace('%desc', $desc)
                        .replace '%name', item.name
                $("#search-result").append $ $_tpl
  do search
</div>
"""
          for item in results
            search = "#{item.name} #{item.desc}"
            search += " #{item.tags}" if item.tags?
            search += " #{item.lang}" if item.lang?
            search += " #{item.type}" if item.type?
            if search.search(regex) > -1
                $desc = item.name
                $desc += " (#{item.type})" if display_type
                $_tpl = $tpl
