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() {
5858 // Populate the prefix tree.
5959 for ( var i = 0 ; i < this . countries_ . length ; i ++ ) {
6060 // Construct key.
61- var key = '+' + this . countries_ [ i ] [ ' e164_cc' ] ;
61+ var key = '+' + this . countries_ [ i ] . e164_cc ;
6262 // Check if key exists.
6363 var nodeValue = this . trie_ . get ( key ) ;
6464 if ( nodeValue ) {
6565 // If so, add country object to its array.
6666 nodeValue . push ( this . countries_ [ i ] ) ;
6767 } else {
6868 // 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 ] ] ) ;
7070 }
7171 }
7272} ;
You can’t perform that action at this time.
0 commit comments