@panoramax/web-viewer 4.3.1-develop-f14157a9 → 4.3.1-develop-66fd2665
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitlab-ci.yml +3 -3
- package/CHANGELOG.md +1 -0
- package/Dockerfile +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/photoviewer.js +1 -1
- package/build/photoviewer.js.map +1 -1
- package/package.json +1 -1
- package/src/components/core/PhotoViewer.js +3 -3
package/package.json
CHANGED
|
@@ -106,8 +106,8 @@ export default class PhotoViewer extends Basic {
|
|
|
106
106
|
|
|
107
107
|
// Defaults
|
|
108
108
|
this["psv-options"] = {};
|
|
109
|
-
this["url-parameters"] = this.getAttribute("url-parameters") || true;
|
|
110
|
-
this["keyboard-shortcuts"] = this.getAttribute("keyboard-shortcuts") || true;
|
|
109
|
+
this["url-parameters"] = this.getAttribute("url-parameters") || "true";
|
|
110
|
+
this["keyboard-shortcuts"] = this.getAttribute("keyboard-shortcuts") || "true";
|
|
111
111
|
this["skip-tags-menu-opening"] = (this.getAttribute("skip-tags-menu-opening") || "false") !== "true";
|
|
112
112
|
this["share-base-url"] = this.getAttribute("share-base-url") || null;
|
|
113
113
|
this.widgets = this.getAttribute("widgets") || "true";
|
|
@@ -201,7 +201,7 @@ export default class PhotoViewer extends Basic {
|
|
|
201
201
|
|
|
202
202
|
this.presetsManager = new PresetManager(this.lang);
|
|
203
203
|
|
|
204
|
-
if(this["url-parameters"]
|
|
204
|
+
if(this["url-parameters"] !== "false") {
|
|
205
205
|
this.urlHandler = new URLHandler(this);
|
|
206
206
|
this.onceReady().then(() => {
|
|
207
207
|
this.urlHandler.listenToChanges();
|