       if not event.isImmediatePropagationStopped()
         #console.log(event.target,"clicked")
         event.target.focus()
-        
+
         event.stopImmediatePropagation()
         
     'keydown .suggested': (event) ->

)

Handlebars.registerHelper('sug_tags', (context, object) ->
  ret = ""
  for tag in context
    ret += "<div class='tag"

    "click button[name='done_tagging']": (event) ->
      if not event.isImmediatePropagationStopped()
        Session.set("tagging_#{ @_id }", false)
        event.stopImmediatePropagation()
  }
)
