Changeset 7575 for extensions/Autosize
- Timestamp:
- Nov 2, 2010, 2:24:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r7574 r7575 439 439 TheImg = jQuery("#pamoorama"); 440 440 if (typeof (myPamoorama) == "undefined") { 441 441 442 return 442 443 443 444 } 444 445 445 446 447 446 448 po = myPamoorama; 447 449 … … 573 575 574 576 575 if (typeof (myPamoorama.imageHeight) == "undefined") return; 577 if (typeof (myPamoorama.imageHeight) == "undefined") { 578 old_w = 0; 579 return; 580 } 576 581 577 582 img_reelle.height = myPamoorama.imageHeight; … … 938 943 jQuery("#linkPrev").css({ width: "200px", overflow: "hidden" }); 939 944 zoom = Image_height / img_height; 940 var init_old_w; 941 if (init_old_w == 0) { 942 init_old_w = old_w; 943 old_w = 0; 944 } 945 945 946 946 947 … … 1057 1058 1058 1059 } // function 1059 ); // ready1060 ); // ready 1060 1061 /* 1061 1062 *
Note: See TracChangeset
for help on using the changeset viewer.