Looking for some help with a button-bar div that I want to display only after the user clicks on a "settings" button. Currently, I have set the button-bar div to have a display:none property in my css file. However, when the settings button is clicked, the div briefly appears and then disappears. Any idea why this might be happening? Here's my current code:
$(document).ready(function() {
$('#settings').on('click', function() {
$('#button-bar').css('display', 'inline-block');
});
});