rearrange some things
This commit is contained in:
parent
0ffac972f6
commit
9c93d00ff6
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue