From 10256ddf3b7d65fde443b68d305101c8e7edd5e4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 8 Jan 2018 15:20:33 +0100 Subject: move the new message alert to the top above thread box on phone --- public/assets/js/lib/views/index/index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public/assets/js/lib/views/index/index.js') 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) + "!") + if (is_mobile) { + $("#content").prepend( $(".alert") ) + } } $(".search_form input").focus() }, -- cgit v1.2.3-70-g09d2