summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/index/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-01-08 15:20:33 +0100
committerJules Laplace <julescarbon@gmail.com>2018-01-08 15:20:33 +0100
commit10256ddf3b7d65fde443b68d305101c8e7edd5e4 (patch)
tree55c2e05159883c7bf2ba60645fe2bf7bec7bd03d /public/assets/js/lib/views/index/index.js
parent9baea1263a1cd3961545d2b5c0ac0fc1190a084d (diff)
move the new message alert to the top above thread box on phone
Diffstat (limited to 'public/assets/js/lib/views/index/index.js')
-rw-r--r--public/assets/js/lib/views/index/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/assets/js/lib/views/index/index.js b/public/assets/js/lib/views/index/index.js
index edf5483..985f990 100644
--- a/public/assets/js/lib/views/index/index.js
+++ b/public/assets/js/lib/views/index/index.js
@@ -42,6 +42,9 @@ var IndexView = View.extend({
" new message" +
courtesy_s(data.mail.count) +
"!</a>")
+ if (is_mobile) {
+ $("#content").prepend( $(".alert") )
+ }
}
$(".search_form input").focus()
},