Post by JGAN » Tue Nov 06, 2018 2:52 am

How do I make the catalog default to list view instead of grid view? I have tried changing

Code: Select all

	localStorage.setItem('display', 'list');
and

Code: Select all

if (localStorage.getItem('display') == 'grid') {
		$('#grid-view').trigger('click');
	} else {
		$('#list-view').trigger('click');
	}
	
In common.js but the catalog still defaults to grid view.

New member

Posts

Joined
Wed Jan 13, 2016 7:52 pm

Post by xxvirusxx » Tue Nov 06, 2018 3:05 am


My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed | Buy me a beer or coffee


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Who is online

Users browsing this forum: No registered users and 38 guests