37c5e4f860
For some reason, threads in the catalog were laid out by a jQuery plug-in. This is now removed and the layout is created purely by handcrafted CSS code.
17 lines
434 B
JavaScript
17 lines
434 B
JavaScript
if (active_page == 'catalog') $(function(){
|
|
|
|
$("#sort_by").change(function(){
|
|
var value = this.value;
|
|
$("#sort-"+value).trigger("click");
|
|
});
|
|
|
|
$("#image_size").change(function(){
|
|
var value = this.value, old;
|
|
$(".grid-li").removeClass("grid-size-vsmall");
|
|
$(".grid-li").removeClass("grid-size-small");
|
|
$(".grid-li").removeClass("grid-size-large");
|
|
$(".grid-li").addClass("grid-size-"+value);
|
|
});
|
|
|
|
});
|