diff --git a/app/css/app.css b/app/css/app.css index 893f2dc0..ab3d70d9 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -1457,13 +1457,16 @@ img.im_message_document_thumb { background-position: -15px -924px; } .audio_player_btn_icon_cancel { - background-position: -15px -948px; + background-position: -15px -924px; + /*background-position: -15px -948px;*/ } .audio_player_title_wrap { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 0 1px; + line-height: 18px; + height: 19px; } .audio_player_title { color: #222; diff --git a/app/js/filters.js b/app/js/filters.js index a60f2342..f8b30c50 100644 --- a/app/js/filters.js +++ b/app/js/filters.js @@ -105,6 +105,9 @@ angular.module('myApp.filters', ['myApp.i18n']) .filter('duration', [function() { return function (duration) { duration = parseInt(duration); + if (isNaN(duration)) { + duration = 0; + } var secs = duration % 60, mins = Math.floor((duration - secs) / 60.0); diff --git a/app/js/init.js b/app/js/init.js index 64902410..22e9a1b2 100644 --- a/app/js/init.js +++ b/app/js/init.js @@ -111,7 +111,7 @@ locale = (navigator.language || '').toLowerCase(); locale = Config.I18n.aliases[locale] || locale; } - if (Config.I18n.supported.indexOf(locale) != -1) { + if (!Config.Mobile && Config.I18n.supported.indexOf(locale) != -1) { Config.I18n.locale = locale; } bootReady.i18n_ng = Config.I18n.locale == defaultLocale; // Already included diff --git a/app/partials/desktop/audio_player.html b/app/partials/desktop/audio_player.html index 3a3a7d78..388fe54d 100644 --- a/app/partials/desktop/audio_player.html +++ b/app/partials/desktop/audio_player.html @@ -2,7 +2,7 @@ -