mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Intercept dropdown clicks for demos
This commit is contained in:
@@ -206,6 +206,11 @@
|
||||
$(this).addClass('current');
|
||||
}
|
||||
});
|
||||
|
||||
// Intercept dropdown clicks for the demo
|
||||
$('.dropdown').on('select', function(event) {
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user