Commit 21e06f37 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

generic_axis.js fix undefined variable in compareLabel

parent 0f294f13
......@@ -73,7 +73,7 @@ GenericAxis.prototype = {
if (typeof b === 'undefined') return (typeof a === 'undefined') ? 0 : 1;
if (a.constructor === String) {
if (b.constructor === String) return va.localeCompare(vb);
if (b.constructor === String) return a.localeCompare(b);
if (b.constructor === Number ) return 1
}
......
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