fixed js for bootswatch menus
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-05-25 14:51:51) dev
|
Version 2.00.0 (2012-05-25 15:01:36) dev
|
||||||
|
|||||||
@@ -63,12 +63,12 @@
|
|||||||
<script>
|
<script>
|
||||||
jQuery(function(){
|
jQuery(function(){
|
||||||
jQuery('.nav>li>a').each(function(){
|
jQuery('.nav>li>a').each(function(){
|
||||||
if(jQuery(this).parent().find('ul'))
|
if(jQuery(this).parent().find('ul').length)
|
||||||
jQuery(this).attr({'class':'dropdown-toggle','data-toggle':'dropdown'}).append('<b class="caret"><b>');
|
jQuery(this).attr({'class':'dropdown-toggle','data-toggle':'dropdown'}).append('<b class="caret"></b>');
|
||||||
});
|
});
|
||||||
jQuery('.nav li').each(function(){
|
jQuery('.nav li').each(function(){
|
||||||
if(jQuery(this).find('ul'))
|
if(jQuery(this).find('ul').length)
|
||||||
var a=jQuery(this).children('a').before('<i class="icon-chevron-right"></i>');
|
var a=jQuery(this).children('a').contents().before('<i class="icon-chevron-right"></i>');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user