Commit ec028fb9 authored by Tobias Steiner's avatar Tobias Steiner
Browse files

Fix bug in transpiling

parent ec38b2db
...@@ -19,13 +19,14 @@ jQuery(($) => { ...@@ -19,13 +19,14 @@ jQuery(($) => {
// configuration // configuration
const targetName = '#geolinkerWidget'; const targetName = '#geolinkerWidget';
const element = $(targetName); const element = $(targetName);
const language = element.data('language') || 'De';
/** /**
* Provide some view options * Provide some view options
*/ */
const viewOptions = { const viewOptions = {
template, template,
templateUrl: null, templateUrl: null,
language: capitalizeFirstLetter(element.data('language') || 'De'), language: capitalizeFirstLetter(language),
target: targetName target: targetName
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment