At least, the W3C validator seems to think so....

CommentFileSizeAuthor
#1 views-cycle.patch449 bytesbrucebertrand

Comments

brucebertrand’s picture

StatusFileSize
new449 bytes

Tried to upload the patch on the first go, but it seems it didn't get saved.


--- views-cycle.tpl.php	2010-03-19 14:58:05.000000000 -0400
+++ views-cycle.tpl.php.new	2010-03-19 14:55:22.000000000 -0400
@@ -9,5 +9,7 @@
       <li class="<?php print $classes[$id]; ?>"><?php print $row; ?></li>
     <?php endforeach; ?>
   </<?php print $options['type']; ?>>
+<?php if (!empty($thumbs_data)) : ?>
   <ul id='<?php print $cycle_id; ?>-thumb-data' style='display: none;'><?php print $thumbs_data; ?></ul>
+<?php endif; ?>
 </div>

jonathan_hunt’s picture

Ha, I just implemented this before I saw your patch. Works for me. Please commit.

Crell’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Status: Active » Fixed

Committed. Thanks! (Please remember to set the issue to "needs review" in the future so maintainers know that there's code to be seen.)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.