@@ -308,21 +308,21 @@ define([
308308 $ ( "#credentials-dialog" )
309309
310310 /* Show and hide panels */
311- . on ( "click" , "tr.listing-item, tr.listing-head " , function ( ev ) {
311+ . on ( "click" , "tr.listing-item" , function ( ev ) {
312312 var body , open ;
313313 if ( $ ( ev . target ) . parents ( ".listing-actions, ul" ) . length === 0 ) {
314- body = $ ( this ) . parents ( "tbody" ) ;
314+ body = $ ( ev . target ) . parents ( "tbody" ) ;
315315 body . toggleClass ( "open" ) . removeClass ( "unlock" ) ;
316316 body . find ( ".alert" ) . hide ( ) ;
317317 }
318318 } )
319319
320320 /* Highlighting */
321- . on ( "mouseenter" , ".listing-head " , function ( ev ) {
322- $ ( ev . target ) . parents ( "tbody" ) . find ( ".listing-head " ) . addClass ( "highlight" ) ;
321+ . on ( "mouseenter" , ".listing-item " , function ( ev ) {
322+ $ ( ev . target ) . parents ( "tbody" ) . find ( ".listing-item " ) . addClass ( "highlight" ) ;
323323 } )
324- . on ( "mouseleave" , ".listing-head " , function ( ev ) {
325- $ ( ev . target ) . parents ( "tbody" ) . find ( ".listing-head " ) . removeClass ( "highlight" ) ;
324+ . on ( "mouseleave" , ".listing-item " , function ( ev ) {
325+ $ ( ev . target ) . parents ( "tbody" ) . find ( ".listing-item " ) . removeClass ( "highlight" ) ;
326326 } )
327327
328328 /* Load and unload keys */
@@ -417,7 +417,7 @@ define([
417417 } )
418418
419419 /* Change tabs */
420- . on ( "click" , "tr.listing-head ul > li > a" , function ( ) {
420+ . on ( "click" , "tr.credential-panel ul > li > a" , function ( ) {
421421 var li = $ ( this ) . parent ( ) ;
422422 var index = li . index ( ) ;
423423 li . parent ( ) . children ( ) . removeClass ( "active" ) ;
0 commit comments