From e2b8511c3c0daa607950dd90214fcbd6a186ce60 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Thu, 3 Jul 2014 14:21:02 +0400 Subject: [PATCH] Improved FFOS experience --- app/css/app.css | 4 ++++ app/vendor/jquery.nanoscroller/nanoscroller.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/css/app.css b/app/css/app.css index e09f737e..bba9a587 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -1129,6 +1129,10 @@ a.im_dialog_selected .im_dialog_date { white-space: nowrap; text-overflow: ellipsis; } +.im_dialog_message { + color: #808080; +} + /* IM history */ .im_history_col { diff --git a/app/vendor/jquery.nanoscroller/nanoscroller.js b/app/vendor/jquery.nanoscroller/nanoscroller.js index 77429b62..b0240a25 100644 --- a/app/vendor/jquery.nanoscroller/nanoscroller.js +++ b/app/vendor/jquery.nanoscroller/nanoscroller.js @@ -342,7 +342,7 @@ this.$content.attr('tabindex', this.options.tabIndex || 0); this.content = this.$content[0]; this.previousPosition = 0; - if (this.options.iOSNativeScrolling && (this.el.style.WebkitOverflowScrolling != null)) { + if (this.options.iOSNativeScrolling && (this.el.style.WebkitOverflowScrolling != null || navigator.userAgent.match(/mobi.+Gecko/i))) { this.nativeScrolling(); } else { this.generate();