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();