Прячу ссылку на источник картинки в полноэкранном режиме
This commit is contained in:
parent
c6d599a17a
commit
ab0e1d4c6c
|
|
@ -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'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue