rearrange some things
This commit is contained in:
parent
0ffac972f6
commit
9c93d00ff6
@ -111,7 +111,6 @@ class ComicPressBookmarkWidget extends WP_Widget {
|
||||
?>
|
||||
</p></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
(function($) {
|
||||
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']();
|
||||
});
|
||||
};
|
||||
|
||||
radios.click(show);
|
||||
show();
|
||||
}(jQuery));
|
||||
</script>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
function update($new_instance, $old_instance) {
|
||||
|
Loading…
Reference in New Issue
Block a user