mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-03-10 01:26:09 +03:00
-fixed binding of on-click handler for json-toggler, - fixed css-class naming
This commit is contained in:
parent
d73531aeb5
commit
01f4efc4e0
@ -617,7 +617,7 @@ form .request-content {
|
||||
padding:20px;
|
||||
}
|
||||
|
||||
.json-toggle-section {
|
||||
.json-collapse-section {
|
||||
color: #660;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -586,7 +586,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('.json-collapse-section').on('click', function(){
|
||||
$(document).on('click', '.json-collapse-section', function() {
|
||||
var openChar = $(this).data('section-open-character'),
|
||||
closingChar = (openChar == '{' ? '}' : ']');
|
||||
if ($(this).next('.json-collapse-content').is(':visible')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user