1
var util = require('./util');
3
var crossroads = require('crossroads');
4
var hasher = require('hasher');
5
var session = require('./main').session;
7
session.languageChanged.handle(function () {
8
$("#notfound-page .subheader").text(_("Page not found"));
9
$("#notfound-explanation").text(_("The page you requested doesn't exist. You could try going back to the start page."));
10
$("#back-to-start").text(_("Back to the start page"));
14
$("#back-to-start").click(function () {
15
hasher.setHash("login");
19
crossroads.bypassed.add(function () {
20
util.show("#notfound-page");