Is there any syntax problem in above script, balancing brackets? Or another mistake?
$(document).ready(function() {
var winW;
if (window.innerWidth) {
winW = window.innerWidth;
}
if (winW > 768) {
$("#refinebox").addClass("in");
});
);
should be
You have braces ending problem..