Kaydet (Commit) f84ed388 authored tarafından Baran Sekin's avatar Baran Sekin

Fixed active dropdown menu text problem

üst 338bca0e
This diff is collapsed.
{
"/css/liman.css": "/css/liman.css?id=def310280e25874358ec",
"/js/liman.js": "/js/liman.js?id=6eb2db922bc80da05dfc"
"/js/liman.js": "/js/liman.js?id=afff8b777a200fa7c569"
}
......@@ -296,9 +296,4 @@ $(function () {
$("#" + modal.target.id + " .alert").fadeOut(0);
});
$(".dropdown-menu").on('click', 'a.dropdown-item', function(){
$(this).closest('.dropdown').find('.dropdown-toggle').html($(this).text() + '<span class="caret"></span>');
});
});
......@@ -72,6 +72,9 @@
</body>
<script>
window.onload = function () {
$(".dropdown-menu").on('click', 'a.dropdown-item', function(){
$(this).closest('.dropdown').find('.dropdown-toggle').html($(this).text() + '<span class="caret"></span>');
});
$(".nav.nav-tabs a").on('click',function () {
window.location.hash = $(this).attr("href");
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment