rearrange some things

This commit is contained in:
John Bintz 2010-01-24 22:28:58 -05:00
parent 0ffac972f6
commit 9c93d00ff6
1 changed files with 45 additions and 46 deletions

View File

@ -111,7 +111,6 @@ class ComicPressBookmarkWidget extends WP_Widget {
?> ?>
</p></div> </p></div>
<?php } ?> <?php } ?>
</div>
<script type="text/javascript"> <script type="text/javascript">
(function($) { (function($) {
var wrapper = '<?php echo $this->get_field_id('wrapper') ?>'; var wrapper = '<?php echo $this->get_field_id('wrapper') ?>';
@ -122,11 +121,11 @@ class ComicPressBookmarkWidget extends WP_Widget {
$('#' + this.id + '-options')[this.checked ? 'show' : 'hide'](); $('#' + this.id + '-options')[this.checked ? 'show' : 'hide']();
}); });
}; };
radios.click(show); radios.click(show);
show(); show();
}(jQuery)); }(jQuery));
</script> </script>
</div>
<?php } <?php }
function update($new_instance, $old_instance) { function update($new_instance, $old_instance) {