Quellcode durchsuchen

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 vor 1 Jahr
committed by GitHub
Ursprung
Commit
ff68062558
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js Datei anzeigen

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


Laden…
Abbrechen
Speichern