Commit 16a1e6d5 authored by Lauris's avatar Lauris

fix: fallback to __bindto's id attribute when it is not a string

parent 1f093dd8
......@@ -177,7 +177,7 @@
/*-- Set Variables --*/
var clipId = __bindto.replace('#', '') + '-clip',
var clipId = (typeof __bindto === "string" ? __bindto.replace('#', '') : __bindto.id) + '-clip',
clipPath = getClipPath(clipId);
var isTimeSeries = (__axis_x_type === 'timeseries'),
......
Markdown is supported
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