Removed unnecessary a tag in custom section headers, we can just use the h1 to toggle
This commit is contained in:
parent
d0e7cd46ce
commit
2c50861c44
3 changed files with 2 additions and 7 deletions
File diff suppressed because one or more lines are too long
|
|
@ -598,11 +598,6 @@ ul.dropdown-menu li a {
|
|||
.custom_section {
|
||||
h1 {
|
||||
cursor: pointer;
|
||||
|
||||
a, a:hover {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@
|
|||
</script>
|
||||
<script type="text/html" id="customControls_containerTemplate_collapsable">
|
||||
<div class="custom_section">
|
||||
<h1><a onclick="$(this).children().first().toggleClass('icon-caret-down icon-caret-right').parent().parent().next().slideToggle('fast')"><i data-bind="css: {'icon-caret-down': !collapsed, 'icon-caret-right': collapsed}"></i> <span data-bind="text: name"></span></a></h1>
|
||||
<h1 onclick="$(this).children().first().toggleClass('icon-caret-down icon-caret-right').parent().next().slideToggle('fast')"><i data-bind="css: {'icon-caret-down': !collapsed, 'icon-caret-right': collapsed}"></i> <span data-bind="text: name"></span></h1>
|
||||
<!-- ko template: { name: 'customControls_containerTemplate', data: $data } --><!-- /ko -->
|
||||
</div>
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue