     store.set('position', @_position)
 
   _positionWindow: (position) ->
-    unless position?
-      position = @_position
+    position = @_position unless position?
 
     @_position = position
     $(@$peteshow).css(left: position.x, top: position.y)

sessionsTemplate    = require('../templates/sessions.hbs')

class PeteshowView
  controller  : Peteshow.controller

  $peteshow    : '.peteshow'
  $tools       : '.peteshow-menu'
  $sessions    : '.peteshow-sessions'
  $saveSession : '.peteshow-save-session'



    @open() if (e.keyCode == 192)

    action  = $("[data-key='#{code}']")
    visible = $(@$peteshow).is('.open')

    action.click() if (action.length > 0 and visible)
