Skip to content

Commit a458f68

Browse files
committed
fix(layout): Fix dropdwon breaking in some cases
In my particular case, this was the solution to my issue, some JS from bootstrap was actually grabbing the href and using it as a selector, in these cases `javascript:void(0)` was being passed as the selector quickly causing an error on the template that resulted in the dropdown not appearing. #25
1 parent 4893543 commit a458f68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tabler-stubs/views/layouts/app.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ class="header-brand-img"
104104
</a>
105105
</li>
106106
<li class="nav-item">
107-
<a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fe fe-box"></i> Interface</a>
107+
<a class="nav-link" data-toggle="dropdown"><i class="fe fe-box"></i> Interface</a>
108108
<div class="dropdown-menu dropdown-menu-arrow">
109109
<a href="#" class="dropdown-item ">Cards design</a>
110110
<a href="#" class="dropdown-item ">Charts</a>
111111
<a href="#" class="dropdown-item ">Pricing cards</a>
112112
</div>
113113
</li>
114114
<li class="nav-item dropdown">
115-
<a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fe fe-calendar"></i> Components</a>
115+
<a class="nav-link" data-toggle="dropdown"><i class="fe fe-calendar"></i> Components</a>
116116
<div class="dropdown-menu dropdown-menu-arrow">
117117
<a href="#" class="dropdown-item ">Maps</a>
118118
<a href="#" class="dropdown-item ">Icons</a>
@@ -121,7 +121,7 @@ class="header-brand-img"
121121
</div>
122122
</li>
123123
<li class="nav-item dropdown">
124-
<a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fe fe-file"></i> Pages</a>
124+
<a class="nav-link" data-toggle="dropdown"><i class="fe fe-file"></i> Pages</a>
125125
<div class="dropdown-menu dropdown-menu-arrow">
126126
<a href="#" class="dropdown-item active">Profile</a>
127127
<a href="#" class="dropdown-item ">Login</a>

0 commit comments

Comments
 (0)