cec-nuxt-lib 0.11.11 → 0.11.14
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/dist/module.json
CHANGED
|
@@ -92,13 +92,18 @@ const doSearch = async () => {
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
onMounted(() => {
|
|
95
|
-
|
|
95
|
+
let i = 0;
|
|
96
|
+
let interval = setInterval(() => {
|
|
97
|
+
i += 1;
|
|
96
98
|
try {
|
|
97
99
|
CookieControl.load(config);
|
|
100
|
+
clearInterval(interval);
|
|
98
101
|
} catch (err) {
|
|
99
|
-
|
|
102
|
+
if (i > 50) {
|
|
103
|
+
clearInterval(interval);
|
|
104
|
+
}
|
|
100
105
|
}
|
|
101
|
-
},
|
|
106
|
+
}, 10);
|
|
102
107
|
let accordions = document.getElementsByClassName("access-acc-container");
|
|
103
108
|
if (accordions.length) {
|
|
104
109
|
let hash = window.location.hash;
|
|
@@ -213,11 +218,11 @@ onMounted(() => {
|
|
|
213
218
|
let display2 = document.getElementById(id + "_display");
|
|
214
219
|
let breadcrumb = document.getElementById(`${id}_breadcrumb`);
|
|
215
220
|
breadcrumb.innerHTML = "";
|
|
216
|
-
qTop.stack.forEach((el,
|
|
221
|
+
qTop.stack.forEach((el, i2) => {
|
|
217
222
|
let li = document.createElement("LI");
|
|
218
223
|
li.classList.add("breadcrumb-item");
|
|
219
224
|
li.innerHTML = qTop.question[el].question;
|
|
220
|
-
if (
|
|
225
|
+
if (i2 !== qTop.stack.length - 1 || display2.innerText.length) {
|
|
221
226
|
li.classList.add("fakeLink");
|
|
222
227
|
li.onclick = () => goto(id, el, false);
|
|
223
228
|
}
|
package/package.json
CHANGED