Commit 1ed4e6bd authored by Jesper Zedlitz's avatar Jesper Zedlitz
Browse files

Syntaxfehler

parent 5fe071a7
Pipeline #1423 passed with stage
in 35 seconds
......@@ -618,7 +618,7 @@ function txtFilterForSelect() {
$('#' + selectId).find('option').each(function() {
options.push($(this));
});
options.sort((a, b) => a.text().length - b.text().length)
options.sort((a, b) >= a.text().length - b.text().length)
$('#' + selectId).empty();
$.each(options, function(i, option) {
$('#' + selectId).append(option);
......
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