File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ function processVCardArray(vcard) {
881881 for ( var i = 0 ; i < vcard . length ; i ++ ) {
882882 var node = vcard [ i ] ;
883883
884- var type = node [ 0 ] ;
884+ var type = node [ 0 ] . toLowerCase ( ) ;
885885 var value = node [ 3 ] ;
886886
887887 if ( 'version' == type ) {
@@ -913,14 +913,19 @@ function processVCardArray(vcard) {
913913 } else if ( 'adr' == type ) {
914914 type = 'Address' ;
915915
916- if ( node [ 1 ] . label ) {
916+ if ( node [ 1 ] . hasOwnProperty ( " label" ) ) {
917917 var div = document . createElement ( 'div' ) ;
918918 strings = node [ 1 ] . label . split ( "\n" ) ;
919919 for ( var j = 0 ; j < strings . length ; j ++ ) {
920920 div . appendChild ( document . createTextNode ( strings [ j ] ) ) ;
921921 if ( j < strings . length - 1 ) div . appendChild ( document . createElement ( 'br' ) ) ;
922922 }
923923
924+ if ( node [ 1 ] . hasOwnProperty ( "cc" ) ) {
925+ div . appendChild ( document . createElement ( 'br' ) ) ;
926+ div . appendChild ( document . createTextNode ( node [ 1 ] . cc ) ) ;
927+ }
928+
924929 value = div ;
925930
926931 } else if ( value ) {
@@ -933,6 +938,10 @@ function processVCardArray(vcard) {
933938 }
934939 }
935940
941+ if ( node [ 1 ] . hasOwnProperty ( "cc" ) ) {
942+ div . appendChild ( document . createTextNode ( node [ 1 ] . cc ) ) ;
943+ }
944+
936945 value = div ;
937946 }
938947
Original file line number Diff line number Diff line change 66scripts:
77 - ./assets/ipaddr.js/ipaddr.min.js?v=2021122209
88 - ./assets/punycode.js/punycode.js?v=2024040213
9- - ./assets/client.js?v=202407161152
9+ - ./assets/client.js?v=2025013112
1010---
1111
1212< form onsubmit ="doQuery();return false " class ="form-inline ">
You can’t perform that action at this time.
0 commit comments