File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
-
1
+ fixed - Fixed obfuscated property causing country code auto population to fail.
Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ firebaseui.auth.data.country.LookupTree.prototype.init_ = function() {
58
58
// Populate the prefix tree.
59
59
for ( var i = 0 ; i < this . countries_ . length ; i ++ ) {
60
60
// Construct key.
61
- var key = '+' + this . countries_ [ i ] [ ' e164_cc' ] ;
61
+ var key = '+' + this . countries_ [ i ] . e164_cc ;
62
62
// Check if key exists.
63
63
var nodeValue = this . trie_ . get ( key ) ;
64
64
if ( nodeValue ) {
65
65
// If so, add country object to its array.
66
66
nodeValue . push ( this . countries_ [ i ] ) ;
67
67
} else {
68
68
// Else add that key/value.
69
- this . trie_ . add ( '+' + this . countries_ [ i ] [ ' e164_cc' ] , [ this . countries_ [ i ] ] ) ;
69
+ this . trie_ . add ( '+' + this . countries_ [ i ] . e164_cc , [ this . countries_ [ i ] ] ) ;
70
70
}
71
71
}
72
72
} ;
You can’t perform that action at this time.
0 commit comments