media="screen" width="100px" />
$(function () {
//to fix collapse mode width issue
$(".nav li,.nav li a,.nav li ul").removeAttr('style');
//for dropdown menu
$(".dropdown-menu").parent().removeClass().addClass('dropdown');
$(".dropdown>a").removeClass().addClass('dropdown-toggle').append('').attr('data-toggle', 'dropdown');
//remove default click redirect effect
$('.dropdown-toggle').attr('onclick', '').off('click');
});
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Mar 16, 2017, 6:41 AM EDT
Bryian TanRank #396 · 6.3K reputationPosted Mar 16, 2017, 7:29 PM EDT