Items 1-12 out of 19652 displayed
I think this should work for you...
$('#categorySelector').on(change, function(e) {
var theSelection = e.val();
console.log(theSelection);
});
Edit your js code to following
$('#menu-button').click(function(e){
e.stopPropagation();
$('#hide-menu').toggleClass('show-menu');
});...
I think I have found the problem.
The redux-mock-store library doesn't allow to test the state change. The component inside is changing the "real" store state and not the mocked...
Casing is important for React components. Try encType
instead of ENCTYPE
. (You should have seen a warning in your console suggesting that you use...
I ended up going for a mostly CSS solution, similar to what @Marcin Skórzewski suggested.
This just adds a new class when the height of the window is shorter than the height of the...