gnu-social/plugins/GNUsocialPhotos/res/gnusocialphotos.js
2010-12-28 09:38:50 -06:00

16 lines
383 B
JavaScript

function increasePhotoSize() {
$('.photoingallery, .albumingallery').each(function(index) {
this.height *= 1.1;
this.width *= 1.1;
});
return false;
}
function decreasePhotoSize() {
$('.photoingallery, .albumingallery').each(function(index) {
this.height /= 1.1;
this.width /= 1.1;
});
return false;
}