cec-nuxt-lib 0.0.7 → 0.0.8
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
|
@@ -89,21 +89,21 @@ const config = {
|
|
|
89
89
|
},
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
const updateToggleText = () => {
|
|
97
|
-
const x = document.getElementById('baToggleText');
|
|
98
|
-
if (x.innerText === 'Listen and translate') {
|
|
99
|
-
x.innerText = 'Close listen and translate';
|
|
100
|
-
} else {
|
|
101
|
-
x.innerText = 'Listen and translate';
|
|
102
|
-
}
|
|
92
|
+
let updateToggleText = () => {
|
|
93
|
+
console.log('toggle');
|
|
103
94
|
};
|
|
104
95
|
|
|
105
96
|
// Set some things up once page has mounted.
|
|
106
97
|
onMounted(() => {
|
|
98
|
+
updateToggleText = () => {
|
|
99
|
+
const x = document.getElementById('baToggleText');
|
|
100
|
+
if (x.innerText === 'Listen and translate') {
|
|
101
|
+
x.innerText = 'Close listen and translate';
|
|
102
|
+
} else {
|
|
103
|
+
x.innerText = 'Listen and translate';
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
107
|
try {
|
|
108
108
|
CookieControl.load(config);
|
|
109
109
|
} catch (ignore) {
|
|
@@ -238,7 +238,7 @@ onMounted(() => {
|
|
|
238
238
|
:href="
|
|
239
239
|
searchTerm === 'Enter keywords:'
|
|
240
240
|
? 'javascript:'
|
|
241
|
-
: `/search
|
|
241
|
+
: `/search.aspx?search_keywords=${encodeURI(searchTerm)}`
|
|
242
242
|
"
|
|
243
243
|
>Search</a
|
|
244
244
|
>
|
package/package.json
CHANGED