         return false if @isFirstChar() && !_.isEmpty( $(anchor_node).text().trim() )
 
     #spacebar
-    if (e.which == SPACEBAR)
+    if (e.which is SPACEBAR)
       utils.log("SPACEBAR")
       if (parent.hasClass("graf--p"))
         @handleSmartList(parent, e)

      @handleTab(anchor_node)
      return false

    if e.which == ENTER

      #removes previous selected nodes
      $(@el).find(".is-selected").removeClass("is-selected")

      , 2

    #delete key
    if (e.which is BACKSPACE)
      eventHandled = false;
      @tooltip_view.hide()
      utils.log("removing from down")
