Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
incentivetoken committed Oct 21, 2015
1 parent 0dd52a6 commit 3ebd7c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/scripts/providers/account-autocomplete-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ module.factory('AccountAutocompleteProvider', function (nxt, $q, $timeout, $root
this.api.engine.socket().callAPIFunction(args).then(
function (data) {
console.log('data', data);
if (data.accounts.length == 1 &&
data.accounts[0].identifier == data.accounts[0].accountRS &&
if (data.accounts.length == 1 &&
data.accounts[0].identifier == data.accounts[0].accountRS &&
data.accounts[0].identifier == query) {
deferred.resolve([]);
}
else {
deferred.resolve(data.accounts.map(
function (obj) {
var v = {
label: obj.identifier,
function (obj) {
var v = {
label: obj.identifier,
id_rs: obj.accountRS
};
if (v.label != v.id_rs) {
Expand Down

0 comments on commit 3ebd7c7

Please sign in to comment.