Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonmoura committed Feb 11, 2020
1 parent b2e1310 commit fdaeecf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/js/main.js
Expand Up @@ -6,7 +6,11 @@ $('.fixed-action-btn').floatingActionButton({
$('.sidenav').sidenav();
// --------------------------------- Dropdown
$(".dropdown-trigger").dropdown();
$("div.tituloDropdown .dropdown-trigger").dropdown({'hover':'true'});
if (navigator.userAgent.indexOf('gonative') > -1) {
$("div.tituloDropdown .dropdown-trigger").dropdown();
} else {
$("div.tituloDropdown .dropdown-trigger").dropdown({'hover':'true'});
}
// --------------------------------- Collapse
$('.collapsible').collapsible();
// expandir (nao funcinou)
Expand Down

0 comments on commit fdaeecf

Please sign in to comment.