web-manager 3.2.26 → 3.2.28
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/lib/account.js +0 -7
- package/package.json +2 -2
package/lib/account.js
CHANGED
@@ -149,14 +149,9 @@ Account.prototype.handleAccount = function (account) {
|
|
149
149
|
function handlePlanVisibility(planId) {
|
150
150
|
var elements = document.querySelectorAll('[data-plan-id][data-plan-visibility]');
|
151
151
|
|
152
|
-
// Log
|
153
|
-
console.log('handlePlanVisibility(): planId', planId);
|
154
|
-
console.log('handlePlanVisibility(): elements', elements);
|
155
|
-
|
156
152
|
// Initially hide all elements
|
157
153
|
elements.forEach(function($el) {
|
158
154
|
$el.setAttribute('hidden', true);
|
159
|
-
console.log('handlePlanVisibility(): hiding', $el);
|
160
155
|
});
|
161
156
|
|
162
157
|
// Toggle visibility based on plan
|
@@ -177,8 +172,6 @@ function handlePlanVisibility(planId) {
|
|
177
172
|
? visibility === 'hidden'
|
178
173
|
: visibility === 'visible';
|
179
174
|
|
180
|
-
console.log('handlePlanVisibility(): setting', shouldHide, $el);
|
181
|
-
|
182
175
|
if (shouldHide) {
|
183
176
|
$el.setAttribute('hidden', true);
|
184
177
|
} else {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "web-manager",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.28",
|
4
4
|
"description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -36,4 +36,4 @@
|
|
36
36
|
"firebase": "^9.23.0",
|
37
37
|
"lazysizes": "^5.3.2"
|
38
38
|
}
|
39
|
-
}
|
39
|
+
}
|