1
0
mirror of synced 2025-02-16 20:13:16 +03:00

allow a custom function for computing the width. fixes #252

This commit is contained in:
Igor Vaynberg 2012-07-20 21:24:34 +03:00
parent 3fc1bc6f35
commit b672d760ac

View File

@ -1151,6 +1151,8 @@
}
return null;
} else if ($.isFunction(this.opts.width)) {
return this.opts.width();
} else {
return this.opts.width;
}