@panoramax/web-viewer 3.2.3-develop-f7d9ee13 → 3.2.3-develop-89a9a32f

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "3.2.3-develop-f7d9ee13",
3
+ "version": "3.2.3-develop-89a9a32f",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -68,13 +68,7 @@ export default class Basic extends LitElement {
68
68
 
69
69
  🆘 Issues can be reported at ${PACKAGE_JSON.repository.url}`);
70
70
 
71
- // Translations
72
- this._t = getTranslations(this.lang);
73
-
74
71
  if(testing) { return; }
75
-
76
- // Show loader
77
- this.loader = createWebComp("pnx-loader", {_parent: this, "no-label": isInIframe() });
78
72
 
79
73
  // Internet speed check
80
74
  this._isInternetFast = null;
@@ -84,6 +78,12 @@ export default class Basic extends LitElement {
84
78
  connectedCallback() {
85
79
  super.connectedCallback();
86
80
 
81
+ // Translations
82
+ this._t = getTranslations(this.lang);
83
+
84
+ // Show loader
85
+ this.loader = createWebComp("pnx-loader", {_parent: this, "no-label": isInIframe() });
86
+
87
87
  if(
88
88
  !(this._loadsAPI && this.endpoint && this._loadsAPI === this.endpoint)
89
89
  && !(this.api && this.api._endpoint === this.endpoint)