##// END OF EJS Templates
small fix for new templates
rt@lightning -
r256:87d72fef default
parent child Browse files
Show More
@@ -12,14 +12,14 b' function addGalleryPanel() {'
12 12 $('input[name="image-mode"]').change(function() {
13 13 //gallery mode
14 14 if($(this).val() === '1') {
15 $('#posts').replaceWith(
15 $('.thread').replaceWith(
16 16 $('<div id="posts-table"></div>').append(gallery)
17 17 );
18 18 }
19 19 //normal mode
20 20 else {
21 21 $('#posts-table').replaceWith(
22 $('<div id="posts"></div>').append(normal)
22 $('<div class="thread"></div>').append(normal)
23 23 );
24 24 }
25 25 });
General Comments 0
You need to be logged in to leave comments. Login now