/* Add your JavaScript code here.
If you are using the jQuery library, then don’t forget to wrap your code inside jQuery.ready() as follows:*/
jQuery(document).ready(function( $ ){
// Your code in here
$(‘option’).mousedown(function(e) {
e.preventDefault();
var originalScrollTop = $(this).parent().scrollTop();
console.log(originalScrollTop);
$(this).prop(‘selected’, $(this).prop(‘selected’) ? false : true);
var self = this;
$(this).parent().focus();
setTimeout(function() {
$(self).parent().scrollTop(originalScrollTop);
}, 0);
return false;
});
});

