More ES6 fixes
This commit is contained in:
parent
5e7654b99f
commit
0a97d31dd1
@ -195,7 +195,7 @@ if (!window.cardTools){
|
||||
parts.shift();
|
||||
parts.forEach(item => v = v[item]);
|
||||
return v;
|
||||
} catch {
|
||||
} catch (err) {
|
||||
return error || `[[ Template matching failed ${str} ]]`;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user