- 28
on iPad portrait view when the categories are collapsed the javascript doesn't work
$(this).find(".title strong").click(function () {
var viewport = $.getSpikesViewPort();
if (viewport.width < 768) {
//$(that).find(".listbox").slideToggle("slow"); //instead of taking the .listbox we can take the second child of the .block element
// as the blocks in the filters do not have the .listbox class, but filtersGroupPanel instead
$(that).children().eq(1).slideToggle("slow");
}
});
should be
if (viewport.width <? 768)
$(this).find(".title strong").click(function () {
var viewport = $.getSpikesViewPort();
if (viewport.width < 768) {
//$(that).find(".listbox").slideToggle("slow"); //instead of taking the .listbox we can take the second child of the .block element
// as the blocks in the filters do not have the .listbox class, but filtersGroupPanel instead
$(that).children().eq(1).slideToggle("slow");
}
});
should be
if (viewport.width <? 768)