nodebb-plugin-ezoic-infinite 1.8.55 → 1.8.56
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/library.js +1 -2
- package/package.json +1 -1
- package/public.zip +0 -0
package/library.js
CHANGED
|
@@ -136,7 +136,6 @@ const HEAD_PRECONNECTS = [
|
|
|
136
136
|
].join('\n');
|
|
137
137
|
|
|
138
138
|
const EZOIC_SCRIPTS = [
|
|
139
|
-
HEAD_PRECONNECTS,
|
|
140
139
|
'<script>',
|
|
141
140
|
'(function(){',
|
|
142
141
|
' if (window.__nbbEzoicHeadLoaded) return;',
|
|
@@ -189,7 +188,7 @@ plugin.injectEzoicHead = async (data) => {
|
|
|
189
188
|
const excluded = await isUserExcluded(uid, settings.excludedGroups);
|
|
190
189
|
|
|
191
190
|
if (!excluded) {
|
|
192
|
-
data.templateData.customHTML = EZOIC_SCRIPTS + (data.templateData.customHTML || '');
|
|
191
|
+
data.templateData.customHTML = HEAD_PRECONNECTS + '\n' + EZOIC_SCRIPTS + '\n' + (data.templateData.customHTML || '');
|
|
193
192
|
}
|
|
194
193
|
} catch (_) {}
|
|
195
194
|
return data;
|
package/package.json
CHANGED
package/public.zip
DELETED
|
Binary file
|