##// END OF EJS Templates
Merge pull request #8131 from minrk/sort-help...
Thomas Kluyver -
r20838:befcaa9a merge
parent child Browse files
Show More
@@ -244,13 +244,13 b' define(['
244 244 }
245 245 }
246 246 help.sort(function (a, b) {
247 if (a.help_index > b.help_index){
248 return 1;
247 if (a.help_index === b.help_index) {
248 return 0;
249 249 }
250 if (a.help_index < b.help_index){
251 return -1;
250 if (a.help_index === undefined || a.help_index > b.help_index){
251 return 1;
252 252 }
253 return 0;
253 return -1;
254 254 });
255 255 return help;
256 256 };
General Comments 0
You need to be logged in to leave comments. Login now