diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-12 03:31:07 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-12 03:31:07 +0100 |
| commit | 942a72123ecf7ed91cf3cba1124adc11a3615208 (patch) | |
| tree | 42fa36700fd80c4903acb0ecb2b1e0bbdc8da2d6 /public/assets/js/lib/router.js | |
| parent | 41d0bd185c19c8a51ed9b85700f52181b6cc5012 (diff) | |
404 page and maybe deleting threads
Diffstat (limited to 'public/assets/js/lib/router.js')
| -rw-r--r-- | public/assets/js/lib/router.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/assets/js/lib/router.js b/public/assets/js/lib/router.js index f9850e8..a83437a 100644 --- a/public/assets/js/lib/router.js +++ b/public/assets/js/lib/router.js @@ -82,4 +82,11 @@ var SiteRouter = Router.extend({ app.view.load() }, + error404: function(){ + $("content").hide() + $("#error_404").show() + $("h1").html("error: page not found") + $("body").removeClass("loading") + }, + })
\ No newline at end of file |
