This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/assets/javascripts/jquery.mu.image.resize.degs...

7 lines
215 B
JavaScript

var pic = $(".app-pic").length,w,h;
for(i=0; i<pic; i=i+1) {
w = $(".app-pic").eq(i).width();
h = $(".app-pic").eq(i).height();
$(".app-pic").eq(i).find('img').muImageResize({width: w, height: h});
}