Changeset 7814 in spip-zone


Ignore:
Timestamp:
Dec 7, 2006, 9:39:08 PM (12 years ago)
Author:
spipcarto@…
Message:

petit bug si pas de diapo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/diapo/diapo.js

    r7768 r7814  
    108108        $("div.diapo_menu a.lien_pagination").diapo_pagination();
    109109        $("div.diapo_vignette a").diapo_vignette();
    110         center=!($("#diapo_grand").css("display")=="none");
     110        diapogrand=$("#diapo_grand").get(0);
     111        if (diapogrand) center=!($("#diapo_grand").css("display")=="none");
    111112});
Note: See TracChangeset for help on using the changeset viewer.