File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929 const sum = document . createElement ( 'summary' ) ;
3030 det . append ( sum ) ;
3131 const d = db [ tag ] [ hash ] ;
32- sum . textContent = tag + ' ' + ( idDb [ hash ] || hash ) ;
32+ sum . textContent = tag + ' ' + ( idDb [ hash ] || ' ' ) + ' (' + hash + ')' ;
3333 det . addEventListener ( 'toggle' , ( ) => { if ( det . children . length < 2 ) det . append ( ...display ( db [ tag ] [ hash ] ) ) } )
3434 elements . push ( det ) ;
3535 }
9090 const det = document . createElement ( 'details' ) ;
9191 const sum = document . createElement ( 'summary' ) ;
9292 det . append ( sum ) ;
93- sum . textContent = tag + ' ' + ( idDb [ hash ] || hash ) ;
93+ sum . textContent = tag + ' ' + ( idDb [ hash ] || ' ' ) + ' (' + hash + ')' ;
9494 det . addEventListener ( 'toggle' , ( ) => { console . log ( 'toggled!' ) ; if ( det . children . length < 2 ) det . append ( ...display ( db [ tag ] [ hash ] ) ) } )
9595 details . append ( det ) ;
9696 }
You can’t perform that action at this time.
0 commit comments