remove unused code for menu on hover
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user