Прячу ссылку на источник картинки в полноэкранном режиме

This commit is contained in:
Krivchikov Dmitry 2015-12-07 00:31:01 +03:00
parent c6d599a17a
commit ab0e1d4c6c
1 changed files with 2 additions and 0 deletions

View File

@ -499,10 +499,12 @@ function initFotorama(selector, data){
startindex: 0 startindex: 0
}).on('fotorama:fullscreenenter', function (e, fotorama) { }).on('fotorama:fullscreenenter', function (e, fotorama) {
fotorama.setOptions({ fotorama.setOptions({
captions: false,
nav: 'dots' nav: 'dots'
}); });
}).on('fotorama:fullscreenexit', function (e, fotorama) { }).on('fotorama:fullscreenexit', function (e, fotorama) {
fotorama.setOptions({ fotorama.setOptions({
captions: true,
nav: 'thumbs' nav: 'thumbs'
}); });
}); });