remove unused code for menu on hover

This commit is contained in:
MarkEEaton
2022-10-21 21:34:26 -04:00
committed by GitHub
parent 7618ff6225
commit d4ebe6c8be
-21
View File
@@ -311,27 +311,6 @@ a.searchmenu {
} }
</style> </style>
<!-- trigger menu open when you hover over dropdowns
<script>
$(document).ready(function(){
// on tablets, trigger the dropdown on touchend, since there is no hover
if (navigator.userAgent.match(/iPad/i) != null) {
$('.dropdown.main-nav-dropdown').on('touchend', function() {
$(this).click();
});
} else {
// else trigger dropdown on hover
$('.dropdown.main-nav-dropdown').mouseenter(function() {
$(this).addClass('open');
});
$('.dropdown.main-nav-dropdown').mouseleave(function() {
$(this).removeClass('open');
});
};
});
</script>
-->
<!-- scripts to make the Book a Study Room widget run --> <!-- scripts to make the Book a Study Room widget run -->
<script src="https://kbcc-cuny.libcal.com/js/equipment.min.js"></script> <script src="https://kbcc-cuny.libcal.com/js/equipment.min.js"></script>
<script> <script>