Ver código fonte

Update pannellum.js

this is a workarround for the unsupported fullscreen api on ios (iphones/ipads).
i have added a new config value "workaroundFullscreen" (by default on) which now forces to show the fullscreen button.
on click it maximizes, additionally to the fullscreen api function, the pannellum container class inside the browser.
pull/1132/head
the-ft 1 ano atrás
committed by GitHub
pai
commit
ff68062558
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js Ver arquivo

@@ -103,7 +103,7 @@ var defaultConfig = {
showZoomCtrl: true,
autoLoad: false,
showControls: true,
workaroundFullscreen: true,
workaroundFullscreen: true, //set true if fullscreen api is not supported
orientationOnByDefault: false,
hotSpotDebug: false,
backgroundColor: [0, 0, 0],


Carregando…
Cancelar
Salvar