Pārlūkot izejas kodu

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 pirms 1 gada
committed by GitHub
vecāks
revīzija
ff68062558
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js Parādīt failu

@@ -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],


Notiek ielāde…
Atcelt
Saglabāt