pixflow-upgrade-planning 1.1.2 → 1.1.4
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/index.js +2 -2
- package/package.json +1 -1
- package/styles/pixflow.css +2 -1
package/index.js
CHANGED
|
@@ -99,8 +99,8 @@ class PixflowUpgradePlanning extends HTMLElement {
|
|
|
99
99
|
element.remove();
|
|
100
100
|
})
|
|
101
101
|
var off = parseInt(json.off_percentage);
|
|
102
|
-
var single = parseInt(json.single.price);
|
|
103
|
-
var team = parseInt(json.team.price);
|
|
102
|
+
var single = json.single != null ? parseInt(json.single.price) : 0;
|
|
103
|
+
var team = json.team != null ? parseInt(json.team.price) : 0;
|
|
104
104
|
var strSingle = `$${single}`;
|
|
105
105
|
var strTeam = `$${team}`;
|
|
106
106
|
if(off > 0){
|
package/package.json
CHANGED
package/styles/pixflow.css
CHANGED
|
@@ -245,7 +245,7 @@ pixflow-upgrade-planning div.close {
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
pixflow-upgrade-planning div.purchase-code {
|
|
248
|
-
display:
|
|
248
|
+
display: none;
|
|
249
249
|
flex-direction: column;
|
|
250
250
|
position: fixed;
|
|
251
251
|
top: calc(100vh + 10px);
|
|
@@ -269,6 +269,7 @@ pixflow-upgrade-planning div.purchase-code {
|
|
|
269
269
|
|
|
270
270
|
pixflow-upgrade-planning div.purchase-code.active {
|
|
271
271
|
top: calc(100vh - 95%);
|
|
272
|
+
display: flex;
|
|
272
273
|
}
|
|
273
274
|
|
|
274
275
|
pixflow-upgrade-planning div.purchase-code > form > input[type=text]:nth-child(1) {
|