Bug 37946: (follow-up) Update menu style to hide
We shouldn't use hide() to hide the Bootstrap menu. The correct move here is to empty the "style" attribute. Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
38ade44def
commit
72d332b0ce
|
|
@ -77,7 +77,7 @@ $( document ).ready( function() {
|
|||
if( tgt.hasClass("z3950actions") ) { // direct button click
|
||||
var link = $( "a[title='" + tgt.text() + "']", row );
|
||||
if( link.length == 1) link.click();
|
||||
row.find('ul.dropdown-menu').hide();
|
||||
row.find('ul.dropdown-menu').attr("style","");
|
||||
return;
|
||||
} else {
|
||||
if( tgt.prop('nodeName') == 'TD' && !tgt.hasClass("actions") ){
|
||||
|
|
|
|||
Loading…
Reference in New Issue