Прячу ссылку на источник картинки в полноэкранном режиме
This commit is contained in:
parent
c6d599a17a
commit
ab0e1d4c6c
|
|
@ -499,10 +499,12 @@ function initFotorama(selector, data){
|
|||
startindex: 0
|
||||
}).on('fotorama:fullscreenenter', function (e, fotorama) {
|
||||
fotorama.setOptions({
|
||||
captions: false,
|
||||
nav: 'dots'
|
||||
});
|
||||
}).on('fotorama:fullscreenexit', function (e, fotorama) {
|
||||
fotorama.setOptions({
|
||||
captions: true,
|
||||
nav: 'thumbs'
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue