         editor.open(filename)
 
     open_push: (res) ->
+        editor.fresh = false
         editor.filename = res.filename
         editor.tokenizer.guess_spec(res.filename)
         m = res.filename.match("\/([^\/]*)$")


    loggedin: ->
        @$login_box.hide()
        if window.location.pathname[0...5] == "/edit"
            editor.open(window.location.pathname[6..])
        esc()



$ ->
    window.editor = new Editor()

