 
 
   toggleVisibility = (handle, state) ->
-    el = handle.getElement()
-    if state
-    then el.classList.add 'in'
+
+    if   handle.getElement() then el.classList.add 'in'
     else el.classList.remove 'in'
 
 

    return notifier


  setHash: (hash) ->

    @hash = hash or generatePassword 64, no


  handleTabMoved: (params) ->

      kd.warn "Failed to terminate session, possibly it's already dead.", err


  dragover: (event) -> kd.utils.stopDOMEvent event


  drop: (event) ->
