Skip to content

Commit 7c7b711

Browse files
authored
fix: bad syntax for dataset
1 parent 6095e0c commit 7c7b711

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/js/c-preview-templates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let cPreviewTemplates = {
88
* @param {String} data.id input type file id to reset
99
*/
1010
foo: function(data) {
11-
const current_lang = data.el_target_container.dataset.cPreviewI18n;
11+
const current_lang = data.el_target_container.dataset.cpreviewI18n;
1212
data.el_target_container.insertAdjacentHTML(
1313
'beforeend',
1414
`<nav class="c-dim m-w-100">
@@ -155,4 +155,4 @@ let cPreviewTemplates = {
155155
}
156156
}
157157
}
158-
}
158+
}

0 commit comments

Comments
 (0)