From 3b63e4eb6c14889683605029ede1f2fa3f3e90a4 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Sun, 14 Dec 2014 22:11:03 -0800 Subject: [PATCH] Minor fixes --- app/css/app.css | 2 +- app/js/directives.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/css/app.css b/app/css/app.css index 16b7a190..9bf40f69 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -1467,7 +1467,7 @@ div.im_message_video_thumb { background-position: -2px -542px; } -.im_history_selectable a[ng-click] { +.im_history_selectable a { pointer-events: none; } diff --git a/app/js/directives.js b/app/js/directives.js index 895e3052..1db12a9d 100644 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -1674,7 +1674,7 @@ angular.module('myApp.directives', ['myApp.filters']) realImageWidth = image.width; realImageHeight = image.height; clearInterval(checkSizesInt); - + var defaultWh = calcImageInBox(image.width, image.height, fullWidth, fullHeight, true); var zoomedWh = {w: realImageWidth, h: realImageHeight}; if (defaultWh.w >= zoomedWh.w && defaultWh.h >= zoomedWh.h) { @@ -2161,6 +2161,7 @@ angular.module('myApp.directives', ['myApp.filters']) initEl.removeClass(prevClass); } initEl.addClass(newClass); + prevClass = newClass; } updatePeerPhoto();