Minor fixes

This commit is contained in:
Igor Zhukov 2014-12-14 22:11:03 -08:00
parent a9d215c7d1
commit 3b63e4eb6c
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

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