Przeglądaj źródła

Add line breaks for clarity

tags/v0.4^2
Luke 4 lat temu
rodzic
commit
72fa959538
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      src/client/ui/templates/reputation/reputation.js

+ 2
- 0
src/client/ui/templates/reputation/reputation.js Wyświetl plik

@@ -82,11 +82,13 @@ define([

onGetReputations: function (list) {
this.list = list;

this.list.sort(function (a, b) {
if (a.name[0] < b.name[0])
return -1;
return 1;
});
let selElement = this.find(".selected");
if (this.el.is(':visible') && selElement.index() !== -1){
this.onSelectFaction(selElement,list[selElement.index() + 1]);


Ładowanie…
Anuluj
Zapisz