lukaisailovic
2 years ago

Dropdown not working after including app.js

Posted 2 years ago by lukaisailovic

I got my JS files at the botoom of the page like this:

<script type="text/javascript" src="{!! asset('js/app.js') !!}"></script>
    <script type="text/javascript" src="{!! asset('assets/js/core/libraries/jquery.min.js') !!}"></script>
    <script type="text/javascript" src="{!! asset('assets/js/core/libraries/bootstrap.min.js') !!}"></script>
    <script type="text/javascript" src="{!! asset('assets/js/plugins/loaders/pace.min.js') !!}"></script>
    <script type="text/javascript" src="{!! asset('assets/js/plugins/loaders/blockui.min.js') !!}"></script>
    <script type="text/javascript" src="{!! asset('assets/js/plugins/ui/nicescroll.min.js') !!}"></script>
    <script type="text/javascript" src="{!! asset('assets/js/plugins/ui/drilldown.js') !!}"></script>
    
    <script type="text/javascript" src="{!! asset('assets/js/core/app.js') !!}"></script>

As soon as I included my app.js file on the top (If I try to include it on the bottom I get drilldown.js error for some reason) my dropdowns are not working but I'm not getting any error regarding that. Don't really know what is going on here.

Please sign in or create an account to participate in this conversation.