Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

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