Browse Source

Fix la splash mediabox

pull/1/head
Cerdic 5 months ago
parent
commit
9dac5f330c
  1. 4
      javascript/splash.mediabox.js

4
javascript/splash.mediabox.js

@ -15,7 +15,7 @@ jQuery(function($){
$.modalbox(href,$.extend({onShow:set_cookie},options));
};
// ouvrir la splash page si pas deja vue
if (Cookies.get("modalsplash") != box_settings.splash_url) {
$.modalboxsplash(box_settings.splash_url);
if (Cookies.get("modalsplash") != mediabox_settings.splash_url) {
$.modalboxsplash(mediabox_settings.splash_url);
}
});
Loading…
Cancel
Save