Browse Source

Minor fixes

TitanNano-voice_recorder
Igor Zhukov 11 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 {
background-position: -2px -542px; background-position: -2px -542px;
} }
.im_history_selectable a[ng-click] { .im_history_selectable a {
pointer-events: none; pointer-events: none;
} }

3
app/js/directives.js

@ -1674,7 +1674,7 @@ angular.module('myApp.directives', ['myApp.filters'])
realImageWidth = image.width; realImageWidth = image.width;
realImageHeight = image.height; realImageHeight = image.height;
clearInterval(checkSizesInt); clearInterval(checkSizesInt);
var defaultWh = calcImageInBox(image.width, image.height, fullWidth, fullHeight, true); var defaultWh = calcImageInBox(image.width, image.height, fullWidth, fullHeight, true);
var zoomedWh = {w: realImageWidth, h: realImageHeight}; var zoomedWh = {w: realImageWidth, h: realImageHeight};
if (defaultWh.w >= zoomedWh.w && defaultWh.h >= zoomedWh.h) { if (defaultWh.w >= zoomedWh.w && defaultWh.h >= zoomedWh.h) {
@ -2161,6 +2161,7 @@ angular.module('myApp.directives', ['myApp.filters'])
initEl.removeClass(prevClass); initEl.removeClass(prevClass);
} }
initEl.addClass(newClass); initEl.addClass(newClass);
prevClass = newClass;
} }
updatePeerPhoto(); updatePeerPhoto();

Loading…
Cancel
Save