nodebb-plugin-pdf-secure 1.2.28 → 1.2.29
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 +1 -1
- package/static/viewer-app.js +1 -1
- package/static/viewer.html +1 -1
package/package.json
CHANGED
package/static/viewer-app.js
CHANGED
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
const viewerEl = document.getElementById('viewer');
|
|
176
176
|
if (!viewerEl) return;
|
|
177
177
|
|
|
178
|
-
const uid = (
|
|
178
|
+
const uid = (_cfg && _cfg.uid) || 0;
|
|
179
179
|
const checkoutUrl = 'https://forum.ieu.app/pay/checkout?uid=' + uid;
|
|
180
180
|
|
|
181
181
|
const overlay = document.createElement('div');
|
package/static/viewer.html
CHANGED
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
}
|
|
2308
2308
|
// Don't duplicate overlay
|
|
2309
2309
|
if (pageEl.querySelector('.page-lock-overlay')) return;
|
|
2310
|
-
var uid = (
|
|
2310
|
+
var uid = (_cfg && _cfg.uid) || 0;
|
|
2311
2311
|
var checkoutUrl = 'https://forum.ieu.app/pay/checkout?uid=' + uid;
|
|
2312
2312
|
var overlay = document.createElement('div');
|
|
2313
2313
|
overlay.className = 'page-lock-overlay';
|