diff --git a/public/js/app.js b/public/js/app.js
index 1b2b845..5c941cf 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -451,8 +451,9 @@ $(document).ready(function(){
initFotorama('.dfotorama');
$(window).on("orientationchange", function (event) {
- $('.dfotorama').data('fotorama').destroy();
- initFotorama('.dfotorama');
+// $('.dfotorama').data('fotorama').destroy();
+// initFotorama('.dfotorama');
+// myMap.invalidateSize();
});
}
});
@@ -496,7 +497,15 @@ function initFotorama(selector, data){
width: width,
height: height,
startindex: 0
- });
+ }).on('fotorama:fullscreenenter', function (e, fotorama) {
+ fotorama.setOptions({
+ nav: 'dots'
+ });
+ }).on('fotorama:fullscreenexit', function (e, fotorama) {
+ fotorama.setOptions({
+ nav: 'thumbs'
+ });
+ });
}
}
diff --git a/views/point.php b/views/point.php
index 2cf622b..2aa44ef 100644
--- a/views/point.php
+++ b/views/point.php
@@ -44,13 +44,13 @@ $index = 0;
img): ?>