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