Open BlendedByUs opened 12 years ago
Line 7
var oPercent = this.attr('style').match(/margin\-left:(.*[0-9])/i) && parseInt(RegExp.$1, 10);
Seems to return... Uncaught TypeError: Cannot call method 'match' of undefined.
If only one list item is present.
Wrapping my code with if .size() > 1 seems to fix this issue but there should be sanity checking I guess in the plugin.
Thanks!
Line 7
Seems to return... Uncaught TypeError: Cannot call method 'match' of undefined.
If only one list item is present.