allow a custom function for computing the width. fixes #252
This commit is contained in:
parent
3fc1bc6f35
commit
b672d760ac
@ -1151,6 +1151,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
} else if ($.isFunction(this.opts.width)) {
|
||||||
|
return this.opts.width();
|
||||||
} else {
|
} else {
|
||||||
return this.opts.width;
|
return this.opts.width;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user