on small screen size change javascript code example
Example: javascript on screen width change
$(window).resize(function() {
/* Do shit */
console.log('window was resized');
});
$(window).resize(function() {
/* Do shit */
console.log('window was resized');
});