Created
December 15, 2017 23:19
-
-
Save teamday/2f86643ee91f94b431b50b44364da68c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.collapsible').collapsible(); | |
$('.collapsible > li.disabled').parent().off('click.collapse', '.collapsible-header'); | |
$('.collapsible > li.disabled > .collapsible-header').off('click.collapse').css('pointer-events', 'none'); | |
<ul class="collapsible"> | |
<li class="disabled"> | |
<div class="row collapsible-header"> | |
</div> | |
<div class="collapsible-body"> | |
</div> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment