Ignore:
Timestamp:
Jul 23, 2012, 3:34:30 PM (12 years ago)
Author:
cljosse
Message:

[extensions] Autosize fix compatibility with 2.4, new options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/js/Affiche_script.js

    r16931 r16935  
    10991099    if (n > pt.length - 1) n = pt.length - 1; // format le plus grand
    11001100    if (n < 0) n = 0; // format le plus grand
     1101    if (typeof pt[n] == "undefined") {
     1102
     1103      n = n - 1
     1104    }
     1105
    11011106    imgSrc = pt[n][1];
    11021107    last_map = pt[n][5];
     
    23542359
    23552360
    2356 });                                                                                                                                                     // ready
     2361});                                                                                                                                                      // ready
    23572362
    23582363  //=====================================================================
Note: See TracChangeset for help on using the changeset viewer.