Browse Source

Minor fixes

master
Igor Zhukov 10 years ago
parent
commit
3b63e4eb6c
  1. 2
      app/css/app.css
  2. 3
      app/js/directives.js

2
app/css/app.css

@ -1467,7 +1467,7 @@ div.im_message_video_thumb { @@ -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;
}

3
app/js/directives.js

@ -1674,7 +1674,7 @@ angular.module('myApp.directives', ['myApp.filters']) @@ -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']) @@ -2161,6 +2161,7 @@ angular.module('myApp.directives', ['myApp.filters'])
initEl.removeClass(prevClass);
}
initEl.addClass(newClass);
prevClass = newClass;
}
updatePeerPhoto();

Loading…
Cancel
Save