Show More
@@ -244,13 +244,13 b' define([' | |||||
244 | } |
|
244 | } | |
245 | } |
|
245 | } | |
246 | help.sort(function (a, b) { |
|
246 | help.sort(function (a, b) { | |
247 |
if (a.help_index |
|
247 | if (a.help_index === b.help_index) { | |
248 |
return |
|
248 | return 0; | |
249 | } |
|
249 | } | |
250 |
if (a.help_index |
|
250 | if (a.help_index === undefined || a.help_index > b.help_index){ | |
251 |
return |
|
251 | return 1; | |
252 | } |
|
252 | } | |
253 |
return |
|
253 | return -1; | |
254 | }); |
|
254 | }); | |
255 | return help; |
|
255 | return help; | |
256 | }; |
|
256 | }; |
General Comments 0
You need to be logged in to leave comments.
Login now